mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
Fixing some balancing issues with riot shields and armor.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2010 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -204,12 +204,12 @@
|
||||
return
|
||||
|
||||
if (istype(l_hand, /obj/item/weapon/shield/riot))
|
||||
if (prob(50 + round(P.damage / 3))) // the more damage a projectile does, the more likely to block it
|
||||
if (prob(50 - round(P.damage / 3))) // the less damage a projectile does, the more likely to block it //changed from "the more damage" to "the less", because that makes no sense
|
||||
show_message("\red Your shield blocks the blow!", 4)
|
||||
return
|
||||
|
||||
if (istype(r_hand, /obj/item/weapon/shield/riot))
|
||||
if (prob(50 + round(P.damage / 3)))
|
||||
if (prob(50 - round(P.damage / 3)))
|
||||
show_message("\red Your shield blocks the blow!", 4)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user