asfehioafuhioaghuoytgfctyr
This commit is contained in:
@@ -162,14 +162,14 @@ public abstract class BulletType extends Content{
|
||||
}
|
||||
|
||||
public void hitTile(Bullet b, Building tile, float initialHealth){
|
||||
if(makeFire){
|
||||
if(makeFire && tile.team != b.team){
|
||||
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 if(tile.team != b.team){
|
||||
hit(b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user