From ed58df59957dda469be9aff2068d8340508c987d Mon Sep 17 00:00:00 2001 From: Morrow Date: Sun, 12 Nov 2023 19:29:32 -0500 Subject: [PATCH] no animation maybe if we get sprites --- .../abilities/crusher/crusher_powers.dm | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/crusher/crusher_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/crusher/crusher_powers.dm index fba253d375..6f285fec2a 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/crusher/crusher_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/crusher/crusher_powers.dm @@ -115,12 +115,6 @@ X.anchored = TRUE X.update_canmove() - if(X.dir == WEST) - animate_stomp(windup_duration, 30) - - if(X.dir == EAST) - animate_stomp(windup_duration, -30) - if (!do_after(X, windup_duration, INTERRUPT_NO_NEEDHAND, BUSY_ICON_HOSTILE)) X.frozen = FALSE X.anchored = FALSE @@ -166,20 +160,6 @@ return ..() -/datum/action/xeno_action/onclick/crusher_stomp/proc/animate_stomp(windup_duration, angle) - set waitfor = FALSE - var/duration = windup_duration / 3 - - animate(owner, transform = turn(matrix(), angle / -3.75), time = duration, easing = SINE_EASING|EASE_OUT) - - sleep(duration) - - animate(owner, pixel_y = 3, transform = turn(matrix(), angle), time = duration, easing = SINE_EASING|EASE_OUT) - - sleep(duration) - - animate(owner, pixel_y = 0, transform = matrix(), time = duration, easing = QUAD_EASING|EASE_IN) - /datum/action/xeno_action/onclick/crusher_stomp/charger/use_ability() var/mob/living/carbon/xenomorph/Xeno = owner var/mob/living/carbon/Targeted