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.
This commit is contained in:
Dane
2014-04-07 13:18:26 -04:00
parent ac2c6b4704
commit d3ffb10ff0
+2 -2
View File
@@ -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)