Converts a bunch of things over to get_random_valid_zone() (#69331)

refactor: A bunch of things that used to not do anything (or just fall back on the chest) when targeting a limb that someone was missing will now be far more likely to attack another limb!
This commit is contained in:
ShizCalev
2022-08-21 16:27:12 -07:00
committed by GitHub
parent 85f0b27efc
commit 50f8a03502
27 changed files with 60 additions and 58 deletions
+1 -1
View File
@@ -129,7 +129,7 @@
if (should_halt_effects(parent))
return
var/obj/affected_limb = human_parent.get_bodypart(ran_zone())
var/obj/affected_limb = human_parent.get_bodypart(human_parent.get_random_valid_zone())
human_parent.visible_message(
span_boldwarning("[human_parent]'s [affected_limb.name] bubbles unnaturally, then bursts into blisters!"),
span_boldwarning("Your [affected_limb.name] bubbles unnaturally, then bursts into blisters!"),