Re-trying JITPack

This commit is contained in:
Anuken
2021-09-15 22:30:53 -04:00
parent c4fe53955b
commit e3cceea1af
9 changed files with 19 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ public class RepairFieldAbility extends Ability{
public float amount = 1, reload = 100, range = 60;
public Effect healEffect = Fx.heal;
public Effect activeEffect = Fx.healWaveDynamic;
public boolean parentizeEffects = false;
protected float timer;
protected boolean wasHealed = false;
@@ -30,7 +31,7 @@ public class RepairFieldAbility extends Ability{
Units.nearby(unit.team, unit.x, unit.y, range, other -> {
if(other.damaged()){
healEffect.at(other);
healEffect.at(other, parentizeEffects);
wasHealed = true;
}
other.heal(amount);