From 954881ce406bb821c4bdf5ebcd539ac628dc4668 Mon Sep 17 00:00:00 2001 From: bgkillas Date: Tue, 29 Oct 2024 12:25:26 -0400 Subject: [PATCH] dont require the arbitrary(?) non zero mana check from ezwand --- quant.ew/files/lib/EZWand.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quant.ew/files/lib/EZWand.lua b/quant.ew/files/lib/EZWand.lua index a0f372a5..bca9af38 100644 --- a/quant.ew/files/lib/EZWand.lua +++ b/quant.ew/files/lib/EZWand.lua @@ -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,