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

A NPC using switch place while dying will not duplicate the player

git-svn-id: http://svn.net-core.org/repos/t-engine4@4735 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4fb8c605
No related branches found
No related tags found
No related merge requests found
......@@ -93,9 +93,9 @@ newTalent{
self:setEffect(self.EFF_EVASION, t.getDuration(self, t), {chance=50})
-- Displace
self.x = nil self.y = nil
self:move(tx, ty, true)
if not target.dead then
self.x = nil self.y = nil
self:move(tx, ty, true)
target.x = nil target.y = nil
target:move(sx, sy, true)
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