Partial 7.0 merge - API preview

This commit is contained in:
Anuken
2021-06-02 11:08:08 -04:00
parent ea75a357ca
commit 28b235ef07
531 changed files with 12356 additions and 6286 deletions

View File

@@ -33,13 +33,13 @@ public class ShieldRegenFieldAbility extends Ability{
if(other.shield < max){
other.shield = Math.max(other.shield + amount, max);
other.shieldAlpha = 1f; //TODO may not be necessary
applyEffect.at(unit);
applyEffect.at(unit.x, unit.y, unit.team.color);
applied = true;
}
});
if(applied){
activeEffect.at(unit);
activeEffect.at(unit.x, unit.y, unit.team.color);
}
timer = 0f;