mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Update src/phases/turn-start-phase.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
9cec9fc715
commit
c3bc15a0a9
@ -55,7 +55,7 @@ export class TurnStartPhase extends FieldPhase {
|
|||||||
/**
|
/**
|
||||||
* This takes the result of getSpeedOrder and applies priority / bypass speed attributes to it.
|
* This takes the result of getSpeedOrder and applies priority / bypass speed attributes to it.
|
||||||
* This also considers the priority levels of various commands and changes the result of `getSpeedOrder` based on such.
|
* This also considers the priority levels of various commands and changes the result of `getSpeedOrder` based on such.
|
||||||
* @returns An array of {@linkcode BattlerIndex}es containing all on-field Pokemon sorted in action order.
|
* @returns The `BattlerIndex`es of all on-field Pokemon sorted in action order.
|
||||||
*/
|
*/
|
||||||
getCommandOrder(): BattlerIndex[] {
|
getCommandOrder(): BattlerIndex[] {
|
||||||
let moveOrder = this.getSpeedOrder();
|
let moveOrder = this.getSpeedOrder();
|
||||||
|
Loading…
Reference in New Issue
Block a user