This commit is contained in:
Anuken
2021-08-07 08:26:49 -04:00
parent 5f29633689
commit ce9bfdbcae

View File

@ -133,7 +133,11 @@ public class EnergyFieldAbility extends Ability{
}
}else{
anyNearby = true;
other.damage(damage);
if(other instanceof Building b){
b.damage(unit.team, damage);
}else{
other.damage(damage);
}
if(other instanceof Statusc s){
s.apply(status, statusDuration);
}