Stop acted units without graying them out
This commit is contained in:
@@ -1902,13 +1902,12 @@ export class BattleScene extends Phaser.Scene {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
view.sprite.stop();
|
view.sprite.postFX.clear();
|
||||||
this.setUnitDirectionFrame(view, view.direction);
|
view.sprite.clearTint();
|
||||||
view.sprite.postFX.addColorMatrix().grayscale(1);
|
view.sprite.setAlpha(1);
|
||||||
view.sprite.setAlpha(0.46);
|
this.syncUnitMotion(unit, view);
|
||||||
view.sprite.setTint(0xb7b7b7);
|
view.label.setAlpha(1);
|
||||||
view.label.setAlpha(0.55);
|
view.label.setColor(unit.faction === 'ally' ? '#e7edf7' : '#ffebe7');
|
||||||
view.label.setColor('#b9b9b9');
|
|
||||||
view.label.setBackgroundColor('');
|
view.label.setBackgroundColor('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user