[MIRROR] Replaced body zone magic strings with defines (#6004)
* Replaced body zone magic strings with defines * merge conflicts
This commit is contained in:
committed by
Poojawa
parent
9338d18a28
commit
3d26cd4a6f
@@ -121,8 +121,8 @@
|
||||
target.gib()
|
||||
else
|
||||
//drill makes a hole
|
||||
var/obj/item/bodypart/target_part = target.get_bodypart(ran_zone("chest"))
|
||||
target.apply_damage(10, BRUTE, "chest", target.run_armor_check(target_part, "melee"))
|
||||
var/obj/item/bodypart/target_part = target.get_bodypart(ran_zone(BODY_ZONE_CHEST))
|
||||
target.apply_damage(10, BRUTE, BODY_ZONE_CHEST, target.run_armor_check(target_part, "melee"))
|
||||
|
||||
//blood splatters
|
||||
var/splatter_dir = get_dir(chassis, target)
|
||||
|
||||
Reference in New Issue
Block a user