mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Update src/phases.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
2f0e765a3d
commit
d9748a8120
@ -2303,7 +2303,7 @@ export class TurnStartPhase extends FieldPhase {
|
|||||||
orderedTargets = orderedTargets.reverse();
|
orderedTargets = orderedTargets.reverse();
|
||||||
}
|
}
|
||||||
|
|
||||||
return orderedTargets.map(t => t.getFieldIndex() + (!t.isPlayer() ? BattlerIndex.ENEMY : 0));
|
return orderedTargets.map(t => t.getFieldIndex() + (!t.isPlayer() ? BattlerIndex.ENEMY : BattlerIndex.PLAYER));
|
||||||
}
|
}
|
||||||
|
|
||||||
getCommandOrder(): BattlerIndex[] {
|
getCommandOrder(): BattlerIndex[] {
|
||||||
|
Loading…
Reference in New Issue
Block a user