From d3ffb10ff09bf5c2ac9865f8cd99acd01d40532d Mon Sep 17 00:00:00 2001 From: Dane Date: Mon, 7 Apr 2014 13:18:26 -0400 Subject: [PATCH] Fix ancients teleport logic and teleport delay. Teleporting at the first pulse with ancients feels too quick. It doesn't. give the player enough time to get to the second part of their. Animation. --- data/plugins/skill-magic/teleport.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/plugins/skill-magic/teleport.rb b/data/plugins/skill-magic/teleport.rb index 323a91d0..db6af1d4 100644 --- a/data/plugins/skill-magic/teleport.rb +++ b/data/plugins/skill-magic/teleport.rb @@ -35,7 +35,7 @@ class TeleportingAction < SpellAction end def execute_action - @spell.ancient ? execute_modern : execute_ancient + @spell.ancient ? execute_ancient : execute_modern end def execute_modern @@ -58,7 +58,7 @@ class TeleportingAction < SpellAction mob.play_graphic(ANCIENT_TELE_GRAPHIC) mob.play_animation(ANCIENT_TELE_ANIM) delay = 2 - elsif @pulses == 1 + elsif @pulses == 2 mob.stop_graphic mob.stop_animation mob.teleport(@spell.destination)