Re-trying JITPack
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user