This commit is contained in:
Anuken
2019-12-28 11:16:35 -05:00
parent 186a2aaa45
commit c250b1d24a
7 changed files with 45 additions and 39 deletions

View File

@@ -307,10 +307,9 @@ public class Mechs implements ContentList{
super.updateAlt(player);
if(player.timer.get(Player.timerAbility, effectReload)){
//wasHealed = false;
Units.nearby(player.getTeam(), player.x, player.y, effectRange, unit -> {
unit.applyEffect(StatusEffects.overdrive, effectDuration);
//unit.applyEffect(StatusEffects.overdrive, effectDuration);
});
indexer.eachBlock(player, effectRange, other -> other.entity.damaged(), other -> {
@@ -318,9 +317,7 @@ public class Mechs implements ContentList{
Effects.effect(Fx.healBlockFull, Pal.heal, other.drawx(), other.drawy(), other.block().size);
});
//if(wasHealed){
Effects.effect(Fx.overdriveWave, player);
//}
}
}
};