Skip to content

Commit

Permalink
fix smite
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemchik542 committed Jul 21, 2024
1 parent b395b9f commit 4041b7a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions massmeta/features/smites/code/testicular_torsion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
if (carbon_target.gender == FEMALE)
to_chat(user, span_warning("Target has no balls!"), confidential = TRUE)
return
if (carbon_target.stat == DEAD)
to_chat(user, span_warning("Target must be alive."), confidential = TRUE)
return

carbon_target.apply_damage(rand(20, 40), BRUTE, BODY_ZONE_L_LEG, wound_bonus = CANT_WOUND, forced = TRUE)
carbon_target.apply_damage(rand(20, 40), BRUTE, BODY_ZONE_R_LEG, wound_bonus = CANT_WOUND, forced = TRUE)
Expand All @@ -29,6 +26,7 @@
span_danger("You can hear someone's balls bursting like balloons!")
)

carbon_target.emote("scream")
var/list/phrase = world.file2list("strings/massmeta/testicular_torsion_phrases.txt")
carbon_target.say(pick(phrase))
if(carbon_target.stat != DEAD)
carbon_target.emote("scream")
var/list/phrase = world.file2list("strings/massmeta/testicular_torsion_phrases.txt")
carbon_target.say(pick(phrase))

0 comments on commit 4041b7a

Please sign in to comment.