mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
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:
1 parent
ac2c6b4704
commit
d3ffb10ff0
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user