fix meditation
Posted: Tue Dec 07, 2010 6:17 pm
Add this to the onTakeHit function in actor.lua
right now meditation does not stop if you are attacked, the above fixes it.
Code: Select all
-- Un-meditate
if self:hasEffect(self.EFF_MEDITATION) then
self:removeEffect(self.EFF_MEDITATION)
end