Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Wcorp round inbetween healing effects #1691

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")


Loading