mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 13:02:02 +00:00
Reworks armor damage reduction + armor components + more goodies. (#11106)
Ports Baystation12/Baystation12#27254 and Baystation12/Baystation12#24787 and everything inbetween I guess. Note that this PR makes guns and armor overall stronger. Lasers also once again do organ damage.
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
if (targetIsHuman)
|
||||
var/mob/living/carbon/human/targethuman = target
|
||||
armorpercent = targethuman.run_armor_check(target_zone,"melee")
|
||||
armorpercent = targethuman.get_blocked_ratio(target_zone, BRUTE, damage = force)*100
|
||||
wasblocked = targethuman.check_shields(force, src, user, target_zone, null) //returns 1 if it's a block
|
||||
|
||||
var/damageamount = force
|
||||
|
||||
Reference in New Issue
Block a user