mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-24 07:41:26 -07:00
(Should) prevent vela from setting fires to friendly tiles
This commit is contained in:
parent
69b7d15beb
commit
9b95b97568
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue