mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Merge pull request #5949 from Kyep/mechdisablers
Fixes #3628 - Disablers no longer blow up mechs
This commit is contained in:
@@ -563,7 +563,9 @@
|
||||
dam_coeff = B.damage_coeff
|
||||
break
|
||||
|
||||
if(prob(deflect_chance * deflection) && (Proj.damage_type == BRUTE || Proj.damage_type == BURN))
|
||||
if(Proj.damage_type != BRUTE && Proj.damage_type != BURN)
|
||||
visible_message("<span class='danger'>[src]'s armour is undamaged by [Proj]!</span>")
|
||||
else if(prob(deflect_chance * deflection))
|
||||
visible_message("<span class='danger'>[src]'s armour deflects [Proj]!</span>")
|
||||
else
|
||||
visible_message("<span class='danger'>[src] is hit by [Proj].</span>")
|
||||
|
||||
Reference in New Issue
Block a user