Stop acted units without graying them out
This commit is contained in:
@@ -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('');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user