Skip to content

Commit

Permalink
Снимаем эффекты с генокрада
Browse files Browse the repository at this point in the history
  • Loading branch information
msw7007 committed Nov 13, 2024
1 parent c220b25 commit 5f68522
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@

/datum/component/death_debuff/proc/apply_debuffs()
SIGNAL_HANDLER
if(IS_CHANGELING(brain_item.owner))
return

if(world.time - death_time > DD_THRESHOLD)
death_count += 1
//Наложить случайный дебафф
Expand Down Expand Up @@ -108,7 +111,9 @@

/obj/item/organ/internal/brain/Initialize(mapload, datum/species/new_species)
. = ..()
AddComponent(/datum/component/death_debuff)
if(!IS_CHANGELING(owner))
AddComponent(/datum/component/death_debuff)


#undef DD_THRESHOLD

Expand Down

0 comments on commit 5f68522

Please sign in to comment.