[MIRROR] [NO GBP] Monster organs were extending the wrong proc following a refactor. [MDB IGNORE] (#17471)

* [NO GBP] Monster organs were extending the wrong proc following a refactor. (#71231)

## About The Pull Request

During a refactor of the lavaland monster organ PR I split one proc into
two and then called the wrong one on all of the children, oops.
This led to the Rush Gland experiencing no cooldown when triggering
itself at low health, which is unquestionably more useful but not how it
is supposed to work.

## Why It's Good For The Game

Implanting the organ shouldn't grant you unlimited super speed while at
low health, even if you're very likely to run into a wall and crit
yourself as a result.

## Changelog
🆑
fix: Lobstrosity Rush Glands now correctly apply their action cooldown
when they trigger from low health.
/🆑

* [NO GBP] Monster organs were extending the wrong proc following a refactor.

Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
SkyratBot
2022-11-15 15:22:01 -08:00
committed by GitHub
co-authored by Jacquerel
parent 1b21db61d9
commit 44d7443077
4 changed files with 4 additions and 4 deletions
@@ -46,7 +46,7 @@
qdel(src)
/// Make a cloud which applies brimdust to everyone nearby
/obj/item/organ/internal/monster_core/brimdust_sac/trigger_organ_action()
/obj/item/organ/internal/monster_core/brimdust_sac/on_triggered_internal()
var/turf/origin_turf = get_turf(owner)
do_smoke(range = 2, holder = owner, location = origin_turf, smoke_type = /obj/effect/particle_effect/fluid/smoke/bad/brimdust)
@@ -208,4 +208,4 @@
var/obj/item/organ/internal/monster_core/organ = target
if (!istype(organ))
return
organ.trigger_organ_action()
organ.on_triggered_internal()
@@ -30,7 +30,7 @@
if (owner.health <= owner.crit_threshold)
trigger_organ_action()
/obj/item/organ/internal/monster_core/regenerative_core/trigger_organ_action()
/obj/item/organ/internal/monster_core/regenerative_core/on_triggered_internal()
owner.revive(full_heal = TRUE, admin_revive = FALSE)
qdel(src)
@@ -21,7 +21,7 @@
if (owner.health <= HEALTH_DANGER_ZONE)
trigger_organ_action()
/obj/item/organ/internal/monster_core/rush_gland/trigger_organ_action()
/obj/item/organ/internal/monster_core/rush_gland/on_triggered_internal()
owner.apply_status_effect(/datum/status_effect/lobster_rush/extended)
/**