mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Fixes mech immortality (#12137)
Co-authored-by: TheGreyWolf <mc-casper@hotmail.dk>
This commit is contained in:
co-authored by
TheGreyWolf
parent
f1ac1f3ba0
commit
fe6b2f6068
@@ -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)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: TheGreyWolf
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Mechs are no longer immortal."
|
||||
Reference in New Issue
Block a user