Back-mounted Shields (#9301)

A shield worn on your back will now properly defend you from penetration in the rear.
This commit is contained in:
Geeves
2020-07-15 21:16:50 +03:00
committed by GitHub
parent dea59ca145
commit d647a567f4
10 changed files with 43 additions and 16 deletions
+1 -1
View File
@@ -263,7 +263,7 @@
New()
item_color = "red"
/obj/item/holo/esword/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
/obj/item/holo/esword/handle_shield(mob/user, var/on_back, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(active && default_parry_check(user, attacker, damage_source) && prob(50))
user.visible_message("<span class='danger'>\The [user] parries [attack_text] with \the [src]!</span>")