Skip to content

Commit

Permalink
Fix action's orders
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebastosdias authored Feb 16, 2025
1 parent 0171523 commit a38211f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/battle-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type {Battle} from './battle';
export interface MoveAction {
/** action type */
choice: 'move' | 'beforeTurnMove' | 'priorityChargeMove';
order: 3 | 5 | 200 | 201 | 199 | 106;
order: 3 | 5 | 105 | 199 | 200 | 201;
/** priority of the action (lower first) */
priority: number;
/** fractional priority of the action (lower first) */
Expand Down Expand Up @@ -50,7 +50,7 @@ export interface MoveAction {
export interface SwitchAction {
/** action type */
choice: 'switch' | 'instaswitch' | 'revivalblessing';
order: 3 | 6 | 103;
order: 3 | 6 | 101;
/** priority of the action (lower first) */
priority: number;
/** speed of pokemon switching (higher first if priority tie) */
Expand Down

0 comments on commit a38211f

Please sign in to comment.