mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Merge pull request #5476 from Fox-McCloud/crutch-refactor
Crutch Refactor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user