formatting
Why do I always make these mistakes? And I saw that I did the same thing in my incendiary-fire PR too...
This commit is contained in:
@@ -158,14 +158,14 @@ public abstract class BulletType extends Content{
|
||||
}
|
||||
|
||||
public void hitTile(Bullet b, Building tile, float initialHealth){
|
||||
if(status == StatusEffects.burning) {
|
||||
if(status == StatusEffects.burning){
|
||||
Fires.create(tile.tile);
|
||||
}
|
||||
|
||||
if(healPercent > 0f && tile.team == b.team && !(tile.block instanceof ConstructBlock)){
|
||||
Fx.healBlockFull.at(tile.x, tile.y, tile.block.size, Pal.heal);
|
||||
tile.heal(healPercent / 100f * tile.maxHealth());
|
||||
} else {
|
||||
}else{
|
||||
hit(b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user