mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 23:11:12 -08:00
Update core/src/mindustry/entities/bullet/BulletType.java
Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
parent
68e67ae0f2
commit
7722d697c6
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ public abstract class BulletType extends Content{
|
|||
Damage.status(b.team, x, y, splashDamageRadius, status, statusDuration, collidesAir, collidesGround);
|
||||
}
|
||||
|
||||
if(healPercent >= 0f) {
|
||||
if(healPercent > 0f) {
|
||||
indexer.eachBlock(b.team, x, y, splashDamageRadius, other -> other.damaged(), other -> {
|
||||
Fx.healBlockFull.at(other.x, other.y, other.block.size, Pal.heal);
|
||||
other.heal(healPercent / 100f * other.maxHealth());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue