mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
dont require the arbitrary(?) non zero mana check from ezwand
This commit is contained in:
parent
9509277e10
commit
954881ce40
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ wand_props = {
|
||||||
validate = function(val)
|
validate = function(val)
|
||||||
return test_conditionals{
|
return test_conditionals{
|
||||||
{ type(val) == "number", "manaMax must be a number" },
|
{ 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,
|
end,
|
||||||
default = 500,
|
default = 500,
|
||||||
|
@ -130,7 +130,7 @@ wand_props = {
|
||||||
validate = function(val)
|
validate = function(val)
|
||||||
return test_conditionals{
|
return test_conditionals{
|
||||||
{ type(val) == "number", "mana must be a number" },
|
{ 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,
|
end,
|
||||||
default = 500,
|
default = 500,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue