mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
doc for UpperHandCondition
This commit is contained in:
parent
47a5ce3c01
commit
4a4e5ba44e
@ -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 {
|
export class UpperHandCondition extends MoveCondition {
|
||||||
constructor() {
|
constructor() {
|
||||||
super((user, target, move) => {
|
super((user, target, move) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user