Fixes mech immortality (#12137)

Co-authored-by: TheGreyWolf <mc-casper@hotmail.dk>
This commit is contained in:
Casper3667
2021-07-02 19:01:17 -03:00
committed by GitHub
co-authored by TheGreyWolf
parent f1ac1f3ba0
commit fe6b2f6068
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -88,9 +88,9 @@
//Only 2 types of damage concern mechs and vehicles
switch(damagetype)
if(BRUTE)
adjustBruteLoss(damage * BLOCKED_MULT(blocked), target)
adjustBruteLoss(damage, target)
if(BURN)
adjustFireLoss(damage * BLOCKED_MULT(blocked), target)
adjustFireLoss(damage, target)
if((damagetype == BRUTE || damagetype == BURN) && prob(25+(damage*2)))
spark(src, 3)
+6
View File
@@ -0,0 +1,6 @@
author: TheGreyWolf
delete-after: True
changes:
- bugfix: "Mechs are no longer immortal."