Skip to content
Snippets Groups Projects
Commit d4c449a5 authored by dg's avatar dg
Browse files

Fix Fearscape

git-svn-id: http://svn.net-core.org/repos/t-engine4@4675 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9c281a1c
No related branches found
No related tags found
No related merge requests found
......@@ -190,16 +190,16 @@ newTalent{
target:setTarget(self)
target.demon_plane_trapper = self
target.demon_plane_on_die = target.on_die
target.on_die = function(...)
target.demon_plane_trapper:forceUseTalent(self.T_DEMON_PLANE, {ignore_energy=true})
if target.demon_plane_on_die then target.demon_plane_on_die(...) end
target.on_die, target.demon_plane_on_die = target.demon_plane_on_die, nil
target.on_die = function(self, ...)
self.demon_plane_trapper:forceUseTalent(self.T_DEMON_PLANE, {ignore_energy=true})
if self.demon_plane_on_die then self:demon_plane_on_die(...) end
self.on_die, self.demon_plane_on_die = self.demon_plane_on_die, nil
end
self.demon_plane_on_die = self.on_die
self.on_die = function(...)
self.on_die = function(self, ...)
self:forceUseTalent(self.T_DEMON_PLANE, {ignore_energy=true})
if self.demon_plane_on_die then self.demon_plane_on_die(...) end
if self.demon_plane_on_die then self:demon_plane_on_die(...) end
self.on_die, self.demon_plane_on_die = self.demon_plane_on_die, nil
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment