dont require the arbitrary(?) non zero mana check from ezwand

This commit is contained in:
bgkillas 2024-10-29 12:25:26 -04:00
parent 9509277e10
commit 954881ce40

View file

@ -121,7 +121,7 @@ wand_props = {
validate = function(val)
return test_conditionals{
{ type(val) == "number", "manaMax must be a number" },
{ val > 0, "manaMax must be a number > 0" },
{ val >= 0, "manaMax must be a number >= 0" },
}
end,
default = 500,
@ -130,7 +130,7 @@ wand_props = {
validate = function(val)
return test_conditionals{
{ type(val) == "number", "mana must be a number" },
{ val > 0, "mana must be a number > 0" },
{ val >= 0, "mana must be a number >= 0" },
}
end,
default = 500,