Skip to content

Commit

Permalink
TRAIT_NO_TRANSFORMATION_STING now actually prevents transformation …
Browse files Browse the repository at this point in the history
…stings (#5261)
  • Loading branch information
Absolucy authored Feb 4, 2025
1 parent 27405ce commit d6f6958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/status_effects/debuffs/dna_transformation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@

/datum/status_effect/temporary_transformation/trans_sting/on_apply()
. = ..()
if(!.)
return
if(!. || HAS_TRAIT(owner, TRAIT_NO_TRANSFORMATION_STING))
return FALSE
RegisterSignals(owner, update_on_signals, PROC_REF(pause_effect))
pause_effect(owner) // for if we sting a dead guy

Expand Down
1 change: 1 addition & 0 deletions code/modules/antagonists/changeling/powers/tiny_prick.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
|| !target.has_dna() \
|| HAS_TRAIT(target, TRAIT_HUSK) \
|| HAS_TRAIT(target, TRAIT_BADDNA) \
|| HAS_TRAIT(target, TRAIT_NO_TRANSFORMATION_STING) \
|| (HAS_TRAIT(target, TRAIT_NO_DNA_COPY) && !ismonkey(target))) // sure, go ahead, make a monk-clone
user.balloon_alert(user, "incompatible DNA!")
return FALSE
Expand Down

0 comments on commit d6f6958

Please sign in to comment.