mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
fixes pellet clouds dealing insane wounds (probably?) (#72359)
## About The Pull Request pellet clouds multiplied the wound roll they do by your amount of armor instead of decreasing it this meant that while they did normal stuff to someone naked  they did this to nukies  and they did this to something like the admin modsuit  ## Why It's Good For The Game nukies no longer get hit by 1 stray pellet and lose all their blood ## Changelog 🆑 fix: fixed pellet clouds (buckshot, improv shells) dealing insane wounds to armored people /🆑
This commit is contained in:
@@ -318,7 +318,7 @@
|
||||
if(armor_factor > 0)
|
||||
if(initial(P.weak_against_armour) && armor_factor >= 0)
|
||||
armor_factor *= ARMOR_WEAKENED_MULTIPLIER
|
||||
damage_dealt *= armor_factor
|
||||
damage_dealt *= max(0, 1 - armor_factor*0.01)
|
||||
|
||||
hit_part.painless_wound_roll(wound_type, damage_dealt, w_bonus, bw_bonus, initial(P.sharpness))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user