This commit is contained in:
Anuken 2022-07-12 13:50:02 -04:00
parent fc5e40a857
commit a734f8423c

View File

@ -34,6 +34,8 @@ public class MoveEffectAbility extends Ability{
@Override
public void update(Unit unit){
if(Vars.headless) return;
counter += Time.delta;
if(unit.vel.len2() >= minVelocity * minVelocity && (counter >= interval) && !unit.inFogTo(Vars.player.team())){
Tmp.v1.trns(unit.rotation - 90f, x, y);