mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[MIRROR] Effects no longer runtime on being attacked [MDB IGNORE] (#19242)
* Effects no longer runtime on being attacked (#73300) ## About The Pull Request Effects didn;t override generic attack, which caused runtimes when attacked ## Why It's Good For The Game Closes #73295 ## Changelog Signed-off-by: GitHub <noreply@ github.com> * Effects no longer runtime on being attacked --------- Signed-off-by: GitHub <noreply@ github.com> Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/effect/attack_generic(mob/user, damage_amount, damage_type, damage_flag, sound_effect, armor_penetration)
|
||||
return
|
||||
|
||||
/obj/effect/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user