From 74cbf6b4d54e0dbcbf968054231dc2ae97a00cea Mon Sep 17 00:00:00 2001 From: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Date: Mon, 12 May 2025 19:49:33 -0300 Subject: [PATCH] Adds a half-health modifier for deathmatch (#91097) --- code/modules/deathmatch/deathmatch_modifier.dm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/code/modules/deathmatch/deathmatch_modifier.dm b/code/modules/deathmatch/deathmatch_modifier.dm index 5bf03105acb..9a225bc67da 100644 --- a/code/modules/deathmatch/deathmatch_modifier.dm +++ b/code/modules/deathmatch/deathmatch_modifier.dm @@ -64,18 +64,25 @@ /datum/deathmatch_modifier/health name = "Double-Health" description = "Doubles your starting health" - blacklisted_modifiers = list(/datum/deathmatch_modifier/health/triple) + blacklisted_modifiers = list(/datum/deathmatch_modifier/health/half, /datum/deathmatch_modifier/health/triple) var/multiplier = 2 /datum/deathmatch_modifier/health/apply(mob/living/carbon/player, datum/deathmatch_lobby/lobby) player.maxHealth *= multiplier player.health *= multiplier +/datum/deathmatch_modifier/health/half + name = "Half-Health" + description = "It's your funeral" + blacklisted_modifiers = list(/datum/deathmatch_modifier/health, /datum/deathmatch_modifier/health/triple) + multiplier = 0.5 + /datum/deathmatch_modifier/health/triple name = "Triple-Health" description = "When \"Double-Health\" isn't enough..." multiplier = 3 - blacklisted_modifiers = list(/datum/deathmatch_modifier/health) + blacklisted_modifiers = list(/datum/deathmatch_modifier/health, /datum/deathmatch_modifier/health/half) + /datum/deathmatch_modifier/tenacity name = "Tenacity"