From b680b629290aff8de0fda462d2f1bbce220ef79c Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:40:26 +0200 Subject: [PATCH] Fixes watcher crusher trophies not applying their effects on basicmobs (#90466) ## About The Pull Request Was missing a source arg, thus trying to get mob's bonus_value var and runtiming. ## Changelog :cl: fix: Fixed watcher crusher trophies not applying their effects on basicmobs /:cl: --- code/datums/components/ranged_attacks.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/ranged_attacks.dm b/code/datums/components/ranged_attacks.dm index 4501db379ef..60fcabfac94 100644 --- a/code/datums/components/ranged_attacks.dm +++ b/code/datums/components/ranged_attacks.dm @@ -89,7 +89,7 @@ SEND_SIGNAL(parent, COMSIG_BASICMOB_POST_ATTACK_RANGED, target, modifiers) return -/datum/component/ranged_attacks/proc/disable_attack(obj/item/crusher_trophy/used_trophy, mob/living/user) +/datum/component/ranged_attacks/proc/disable_attack(mob/source, obj/item/crusher_trophy/used_trophy, mob/living/user) SIGNAL_HANDLER var/stun_duration = (used_trophy.bonus_value * 0.1) SECONDS COOLDOWN_INCREMENT(src, fire_cooldown, stun_duration)