Files
Sim c8983e1b03 Did you know Mosley pulls from downstreams without knowing what he pulls?
AKA [PORT] Refactors smiting, adds smite build mode tgstation/tgstation#55327

!! NOT!! A!! RUNNING!! BUILD!!

LIGHTNING IS BROKEN
IMMERSE IS COMMENTED OUT
HALF OF THIS SHIT IS BROKEN
DO NOT BASE YOURSELF ON THIS BUILD!!
2024-10-08 01:50:15 -03:00

18 lines
844 B
Plaintext

/// Slashes up the target
/datum/smite/bloodless
name = ":B:loodless"
/datum/smite/bloodless/effect(client/user, mob/living/target)
. = ..()
if(!iscarbon(target))
to_chat(usr,"<span class='warning'>This must be used on a carbon mob.</span>", confidential = TRUE)
return
var/mob/living/carbon/carbon_target = target
for(var/_limb in carbon_target.bodyparts)
var/obj/item/bodypart/limb = _limb
var/type_wound = pick(list(/datum/wound/slash/severe, /datum/wound/slash/moderate))
limb.force_wound_upwards(type_wound, smited = TRUE)
type_wound = pick(list(/datum/wound/slash/critical, /datum/wound/slash/severe, /datum/wound/slash/moderate))
limb.force_wound_upwards(type_wound, smited = TRUE)
type_wound = pick(list(/datum/wound/slash/critical, /datum/wound/slash/severe))
limb.force_wound_upwards(type_wound, smited = TRUE)