Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -30,7 +30,7 @@ public class RepairFieldAbility extends Ability{
|
|||||||
|
|
||||||
Units.nearby(unit.team, unit.x, unit.y, range, other -> {
|
Units.nearby(unit.team, unit.x, unit.y, range, other -> {
|
||||||
if(other.damaged()){
|
if(other.damaged()){
|
||||||
healEffect.at(unit);
|
healEffect.at(other);
|
||||||
wasHealed = true;
|
wasHealed = true;
|
||||||
}
|
}
|
||||||
other.heal(amount);
|
other.heal(amount);
|
||||||
|
|||||||
Reference in New Issue
Block a user