mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Makes genetic damage gorillas work (#75398)
## About The Pull Request Moves the genetic damage status effect's `qdel()` after making the status effect's owner a gorilla. Basically un-fucks the interaction, as it was accidentally fucked in #74799, see https://github.com/tgstation/tgstation/issues/74981#issuecomment-1546140751 ## Why It's Good For The Game Fixes #74981 ## Changelog 🆑 fix: made gorilla transformation when affected by excess amounts of genetic damage work /🆑
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
|
||||
/datum/status_effect/genetic_damage/tick(seconds_per_tick, times_fired)
|
||||
if(ismonkey(owner) && total_damage >= GORILLA_MUTATION_MINIMUM_DAMAGE && SPT_PROB(GORILLA_MUTATION_CHANCE_PER_SECOND, seconds_per_tick))
|
||||
qdel(src)
|
||||
var/mob/living/carbon/carbon_owner = owner
|
||||
carbon_owner.gorillize()
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
if(total_damage >= minimum_before_tox_damage)
|
||||
|
||||
Reference in New Issue
Block a user