Page 1 of 1

fix meditation

Posted: Tue Dec 07, 2010 6:17 pm
by Shoob
Add this to the onTakeHit function in actor.lua

Code: Select all

	-- Un-meditate
	if self:hasEffect(self.EFF_MEDITATION) then
		self:removeEffect(self.EFF_MEDITATION)
	end
right now meditation does not stop if you are attacked, the above fixes it.