mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-25 09:01:40 +00:00
* Refactors smiting, adds smite build mode (#55327) Refactors smiting out from being a large switch/case into datums. Adds a new smite option to build mode. This lets you choose a smite and rapidly apply it to a lot of people, presumably for EORG. Requested for by...one of the admins, I forget which. * Refactors smiting, adds smite build mode Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
8 lines
265 B
Plaintext
8 lines
265 B
Plaintext
/// Inflicts crippling brain damage on the target
|
|
/datum/smite/brain_damage
|
|
name = "Brain damage"
|
|
|
|
/datum/smite/brain_damage/effect(client/user, mob/living/target)
|
|
. = ..()
|
|
target.adjustOrganLoss(ORGAN_SLOT_BRAIN, BRAIN_DAMAGE_DEATH - 1, BRAIN_DAMAGE_DEATH - 1)
|