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

Teleport: Angolwen will not instantly teleport when cancelled

git-svn-id: http://svn.net-core.org/repos/t-engine4@5307 51575b47-30f0-44d4-a5cc-537603b46e54
parent ff95789d
No related branches found
No related tags found
No related merge requests found
......@@ -762,7 +762,7 @@ newEffect{
return
end
if self:canBe("worldport") and not self:attr("never_move") then
if self:canBe("worldport") and not self:attr("never_move") and eff.dur <= 0 then
game:onTickEnd(function()
if eff.leveid == game.zone.short_name.."-"..game.level.level and game.player.can_change_zone then
game.logPlayer(self, "You are yanked out of this place!")
......
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