mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Adds a half-health modifier for deathmatch (#91097)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user