mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
check total damage instead of damage type (#25818)
This commit is contained in:
@@ -317,9 +317,9 @@
|
||||
//If limb took enough damage, try to cut or tear it off
|
||||
if(owner)
|
||||
if(sharp && !(limb_flags & CANNOT_DISMEMBER))
|
||||
if(limb_brute >= max_damage && prob(original_brute / 2))
|
||||
if(limb_brute + limb_burn >= max_damage && prob(original_brute / 2))
|
||||
droplimb(0, DROPLIMB_SHARP)
|
||||
if(limb_burn >= max_damage && prob(original_burn / 2))
|
||||
if(limb_brute + limb_burn >= max_damage && prob(original_burn / 2))
|
||||
droplimb(0, DROPLIMB_BURN)
|
||||
|
||||
if(owner_old)
|
||||
|
||||
Reference in New Issue
Block a user