log turn order changes
This commit is contained in:
parent
b681bc386a
commit
eb11b951e6
|
@ -384,6 +384,7 @@ export default class GameManager {
|
||||||
*/
|
*/
|
||||||
async setTurnOrder(order: BattlerIndex[]): Promise<void> {
|
async setTurnOrder(order: BattlerIndex[]): Promise<void> {
|
||||||
await this.phaseInterceptor.to(TurnStartPhase, false);
|
await this.phaseInterceptor.to(TurnStartPhase, false);
|
||||||
|
console.log("Base turn order (before priority) set to:", order);
|
||||||
|
|
||||||
vi.spyOn(this.scene.getCurrentPhase() as TurnStartPhase, "getOrder").mockReturnValue(order);
|
vi.spyOn(this.scene.getCurrentPhase() as TurnStartPhase, "getOrder").mockReturnValue(order);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue