[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:
SkyratBot
2023-02-09 21:33:25 +01:00
committed by GitHub
parent be14a695a6
commit bdae2caa82
+3
View File
@@ -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