Fixes the damage modifier not working sometimes (#8124)
Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
This commit is contained in:
@@ -88,7 +88,7 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
|
||||
|
||||
//TODO area damage to units
|
||||
if(t.build != null && t.build.team != team){
|
||||
t.build.damage(team, type.crushDamage * Time.delta);
|
||||
t.build.damage(team, type.crushDamage * Time.delta * state.rules.unitDamage(team));
|
||||
}
|
||||
|
||||
if(Mathf.chanceDelta(0.025)){
|
||||
|
||||
Reference in New Issue
Block a user