Fixed #5710
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user