v0.7.4: fixed boomerang return vfx not pausing actor movement
This commit is contained in:
parent
990599d2ad
commit
666ef81363
|
@ -115,12 +115,14 @@ public class HeavyBoomerang extends MissileWeapon {
|
||||||
} else {
|
} else {
|
||||||
Dungeon.level.drop(boomerang, returnPos).sprite.drop();
|
Dungeon.level.drop(boomerang, returnPos).sprite.drop();
|
||||||
}
|
}
|
||||||
|
CircleBack.this.next();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
visual.alpha(0f);
|
visual.alpha(0f);
|
||||||
float duration = Dungeon.level.trueDistance(thrownPos, returnPos) / 20f;
|
float duration = Dungeon.level.trueDistance(thrownPos, returnPos) / 20f;
|
||||||
Dungeon.hero.sprite.parent.add(new AlphaTweener(visual, 1f, duration));
|
Dungeon.hero.sprite.parent.add(new AlphaTweener(visual, 1f, duration));
|
||||||
detach();
|
detach();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
spend( TICK );
|
spend( TICK );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user