Order Up now uses attr option

This commit is contained in:
innerthunder 2024-11-02 23:35:04 -07:00
parent 1b2426ab45
commit 51c8f4eb65

View File

@ -3240,7 +3240,7 @@ export class CutHpStatStageBoostAttr extends StatStageChangeAttr {
*/ */
export class OrderUpStatBoostAttr extends MoveEffectAttr { export class OrderUpStatBoostAttr extends MoveEffectAttr {
constructor() { constructor() {
super(true, MoveEffectTrigger.HIT); super(true, { trigger: MoveEffectTrigger.HIT });
} }
override apply(user: Pokemon, target: Pokemon, move: Move, args?: any[]): boolean { override apply(user: Pokemon, target: Pokemon, move: Move, args?: any[]): boolean {