Fixes #3628 - Disablers no longer blow up mechs

This commit is contained in:
Kyep
2016-12-05 02:04:47 -08:00
parent 50506f40dd
commit 947840cc5c
+2
View File
@@ -565,6 +565,8 @@
if(prob(deflect_chance * deflection) && (Proj.damage_type == BRUTE || Proj.damage_type == BURN))
visible_message("<span class='danger'>[src]'s armour deflects [Proj]!</span>")
else if (Proj.damage_type == STAMINA)
visible_message("<span class='danger'>[src]'s armour is undamaged by [Proj]!</span>")
else
visible_message("<span class='danger'>[src] is hit by [Proj].</span>")
take_damage(Proj.damage * dam_coeff, Proj.flag)