add visible damage points

This commit is contained in:
Juraj Vajda 2022-10-30 19:28:44 -04:00
parent 15e94682e8
commit a775d3d74c
2 changed files with 9 additions and 1 deletions

View File

@ -51,7 +51,8 @@ read_globals = {
fields = { fields = {
"hypot", "hypot",
"sign", "sign",
"factorial" "factorial",
"round",
} }
}, },

7
types/math.type.lua Normal file
View File

@ -0,0 +1,7 @@
---https://github.com/sumneko/lua-language-server/wiki
---@alias mathlib mathlib|MathAbstract
---Math helpers
---@class MathAbstract
---@field round fun(x: number): number Returns `x` rounded to the nearest integer. At a multiple of 0.5, rounds away from zero.