Skip to content

Commit

Permalink
Adds Wcorp round inbetween healing effects (vlggms#1691)
Browse files Browse the repository at this point in the history
* Adds Wcorp round healing effect

* Update combat.dm
  • Loading branch information
Moribox authored and vampirebat74 committed May 10, 2024
1 parent c385680 commit e18c791
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions code/game/gamemodes/management/event/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand All @@ -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")


0 comments on commit e18c791

Please sign in to comment.