From 639bf7162ceaa87463fee46e1b91db0a6bbc5a3b Mon Sep 17 00:00:00 2001 From: silencer-pl <103842328+silencer-pl@users.noreply.github.com> Date: Thu, 26 Sep 2024 04:07:37 -0400 Subject: [PATCH] Update runner_powers.dm fine tunes launching anim --- .../abilities/runner/runner_powers.dm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/runner/runner_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/runner/runner_powers.dm index 7a7c8a1811..31e89d6fa9 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/runner/runner_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/runner/runner_powers.dm @@ -289,12 +289,9 @@ /obj/item/prop/missile_storm_up/proc/animate_takeoff() - var/step_number = 1 - while(step_number <= 12) - pixel_y += 32 - pixel_x += 4 - step_number += 1 - sleep(1) + var/new_pixel_x = pixel_x + 48 + animate(src, pixel_x=new_pixel_x,pixel_y=384,time = 10,easing=QUAD_EASING|EASE_IN) + sleep(11) qdel(src) /obj/item/prop/missile_storm_up/Initialize(mapload, ...) @@ -314,12 +311,9 @@ /obj/item/prop/missile_storm_down/proc/animate_landing() - var/step_number = 1 - while(step_number <= 12) - pixel_y -= 32 - pixel_x += 4 - step_number += 1 - sleep(1) + var/new_pixel_x = pixel_x + 48 + animate(src, pixel_x=new_pixel_x,pixel_y=0,time = 10,easing=QUAD_EASING|EASE_IN) + sleep(11) qdel(src) /obj/item/prop/missile_storm_down/Initialize(mapload, ...)