diff --git a/code/game/gamemodes/management/event/combat.dm b/code/game/gamemodes/management/event/combat.dm index 5d6675a7e37d..e0d3b219d9e2 100644 --- a/code/game/gamemodes/management/event/combat.dm +++ b/code/game/gamemodes/management/event/combat.dm @@ -68,6 +68,14 @@ GLOBAL_VAR_INIT(wcorp_enemy_faction, "") //decides which faction WCorp will be u /datum/game_mode/combat/proc/counterincrease() addtimer(CALLBACK(src, .proc/counterincrease), 1 MINUTES) GLOB.combat_counter+=1 + if(SSmaptype.maptype == "wcorp") + for(var/mob/living/carbon/human/H in GLOB.human_list) + if(H.stat == DEAD) + continue + if(!H.ckey) + continue + H.adjustBruteLoss(-(H.maxHealth*0.10)) + H.adjustSanityLoss(-(H.maxSanity*0.10)) /datum/game_mode/combat/proc/rcorp_announce() var/announcement_type = "" @@ -78,3 +86,4 @@ GLOBAL_VAR_INIT(wcorp_enemy_faction, "") //decides which faction WCorp will be u announcement_type = "Intelligence has located a highly intelligent target in the vicinity. Destroy it at all costs." minor_announce("[announcement_type]" , "R-Corp Intelligence Office") +