-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f6f9d2
commit 25b83e4
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
/datum/smite/rip_and_tear | ||
name = "rip and tear those tendons" | ||
|
||
/datum/smite/rip_and_tear/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 // fine to use this raw, its a meme smite | ||
var/type_wound = pick(list(/datum/wound/muscle/severe, /datum/wound/muscle/moderate)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) | ||
type_wound = pick(list( /datum/wound/muscle/severe, /datum/wound/muscle/moderate)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) | ||
type_wound = pick(list(/datum/wound/muscle/moderate, /datum/wound/muscle/severe)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) | ||
/datum/smite/rip_and_tear | ||
name = "rip and tear those tendons" | ||
|
||
/datum/smite/rip_and_tear/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 // fine to use this raw, its a meme smite | ||
var/type_wound = pick(list(/datum/wound/muscle/severe, /datum/wound/muscle/moderate)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) | ||
type_wound = pick(list( /datum/wound/muscle/severe, /datum/wound/muscle/moderate)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) | ||
type_wound = pick(list(/datum/wound/muscle/moderate, /datum/wound/muscle/severe)) | ||
limb.force_wound_upwards(type_wound, smited = TRUE) |