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:
@@ -37,9 +37,9 @@ public class Lightning{
|
||||
hit.clear();
|
||||
|
||||
BulletType bulletType;
|
||||
if(hitter != null && hitter.type.lightningHitter != null) {
|
||||
if(hitter != null && hitter.type.lightningHitter != null){
|
||||
bulletType = hitter.type.lightningHitter;
|
||||
} else {
|
||||
}else{
|
||||
bulletType = hitter != null && !hitter.type.collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
|
||||
}
|
||||
|
||||
|
||||
@@ -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