mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 05:42:18 +02:00
Update ability.ts
This commit is contained in:
parent
e5964743aa
commit
3f721441d4
@ -2263,21 +2263,12 @@ export class CheckTrappedAbAttr extends AbAttr {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super(false);
|
super(false);
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Checks if enemy Pokemon is trapped by an Arena Trap-esque ability
|
|
||||||
* @param pokemon N/A
|
|
||||||
* @param passive N/A
|
|
||||||
* @param trapped N/A
|
|
||||||
* @param otherPokemon N/A
|
|
||||||
* @param args N/A
|
|
||||||
* @returns if enemy Pokemon is trapped or not
|
|
||||||
*/
|
|
||||||
applyCheckTrapped(pokemon: Pokemon, passive: boolean, trapped: Utils.BooleanHolder, otherPokemon: Pokemon, args: any[]): boolean | Promise<boolean> {
|
applyCheckTrapped(pokemon: Pokemon, passive: boolean, trapped: Utils.BooleanHolder, otherPokemon: Pokemon, args: any[]): boolean | Promise<boolean> {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether a Pokemon is blocked from switching/running away
|
* Determines whether a Pokemon is blocked from switching/running away
|
||||||
* because of a trapping ability or move.
|
* because of a trapping ability or move.
|
||||||
|
Loading…
Reference in New Issue
Block a user