Stop acted units without graying them out

This commit is contained in:
2026-06-22 12:36:21 +09:00
parent 89f2251d0b
commit 41d70c7b7c

View File

@@ -1902,13 +1902,12 @@ export class BattleScene extends Phaser.Scene {
return;
}
view.sprite.stop();
this.setUnitDirectionFrame(view, view.direction);
view.sprite.postFX.addColorMatrix().grayscale(1);
view.sprite.setAlpha(0.46);
view.sprite.setTint(0xb7b7b7);
view.label.setAlpha(0.55);
view.label.setColor('#b9b9b9');
view.sprite.postFX.clear();
view.sprite.clearTint();
view.sprite.setAlpha(1);
this.syncUnitMotion(unit, view);
view.label.setAlpha(1);
view.label.setColor(unit.faction === 'ally' ? '#e7edf7' : '#ffebe7');
view.label.setBackgroundColor('');
}