Merge pull request #5476 from Fox-McCloud/crutch-refactor

Crutch Refactor
This commit is contained in:
TheDZD
2016-08-17 22:10:51 -04:00
committed by GitHub
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)