
wow, thanks. It's much easier way to figure out.minmay wrote:Code: Select all
-- Returns true if the Light spell is activated. function lightSpellOn() -- no light source: 0.1, 0.13, 0.25 -- torch: 1.2, 0.8, 0.6 -- light spell: 0.56, 0.75, 1.2 -- both: 1.76, 1.55, 1.8 return party.torch:getColor()[3] > 1.19 end