mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
(Should) prevent vela from setting fires to friendly tiles
This commit is contained in:
parent
69b7d15beb
commit
9b95b97568
@ -161,11 +161,12 @@ public abstract class BulletType extends Content{
|
||||
if(status == StatusEffects.burning) {
|
||||
Fires.create(tile.tile);
|
||||
}
|
||||
hit(b);
|
||||
|
||||
|
||||
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 {
|
||||
hit(b);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user