Crutch Refactor

This commit is contained in:
Fox-McCloud
2016-08-17 21:45:55 -04:00
parent ab8c26efcc
commit 1f4f4c6cfe
5 changed files with 15 additions and 3 deletions
@@ -78,9 +78,9 @@
// Canes and crutches help you stand (if the latter is ever added)
// One cane mitigates a broken leg+foot, or a missing foot.
// Two canes are needed for a lost leg. If you are missing both legs, canes aren't gonna help you.
if(l_hand && istype(l_hand, /obj/item/weapon/cane))
if(l_hand && l_hand.is_crutch())
stance_damage -= 2
if(r_hand && istype(r_hand, /obj/item/weapon/cane))
if(r_hand && r_hand.is_crutch())
stance_damage -= 2
if(stance_damage < 0)