mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[MIRROR] Ian and Runtime can lick your wounds (#28187)
* Ian and Runtime can lick your wounds * Update _wounds.dm --------- Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
Jacquerel
Gandalf
parent
7672a71aaa
commit
b3ccf9523d
@@ -21,6 +21,8 @@
|
||||
SIGNAL_HANDLER
|
||||
if (!iscarbon(target))
|
||||
return
|
||||
if (!isnull(source.mind) && !isnull(source.hud_used?.zone_select))
|
||||
return
|
||||
var/mob/living/living_target = target
|
||||
var/list/blacklist_zones = GLOB.all_body_zones - valid_attack_zones
|
||||
var/new_zone = living_target.get_random_valid_zone(blacklisted_parts = blacklist_zones, bypass_warning = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user