Armor now appropriately reduces damage taken from explosives.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5582 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
entrian.tration@gmail.com
2013-01-19 21:15:11 +00:00
parent ec46676bac
commit 7516e0698b

View File

@@ -177,17 +177,19 @@
f_loss += 60
if (!prob(getarmor(null, "bomb")))
if (prob(getarmor(null, "bomb")))
b_loss = b_loss/1.5
f_loss = f_loss/1.5
if (!istype(ears, /obj/item/clothing/ears/earmuffs))
ear_damage += 30
ear_deaf += 120
if (prob(70) && !shielded)
Paralyse(10)
if(3.0)
b_loss += 30
if (!prob(getarmor(null, "bomb")))
if (prob(getarmor(null, "bomb")))
b_loss = b_loss/2
if (!istype(ears, /obj/item/clothing/ears/earmuffs))
ear_damage += 15