From 4a4e5ba44e23b312370f8f2b278e1006e9919156 Mon Sep 17 00:00:00 2001 From: innerthunder Date: Mon, 4 Nov 2024 10:13:49 -0800 Subject: [PATCH] doc for UpperHandCondition --- src/data/move.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/data/move.ts b/src/data/move.ts index 2bf27fe47c6..f6ace7c434a 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -7393,6 +7393,12 @@ export class FirstMoveCondition extends MoveCondition { } } +/** + * Condition used by the move {@link https://bulbapedia.bulbagarden.net/wiki/Upper_Hand_(move) | Upper Hand}. + * Moves with this condition are only successful when the target has selected + * a high-priority attack (after factoring in priority-boosting effects) and + * hasn't moved yet this turn. + */ export class UpperHandCondition extends MoveCondition { constructor() { super((user, target, move) => {