mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-22 23:15:13 +00:00
* Refactors most spans into span procs * AA * a * AAAAAAAAAAAAAAAAAAAAAA * Update species.dm Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
19 lines
833 B
Plaintext
19 lines
833 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(user, span_warning("This must be used on a carbon mob."), 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)
|