mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 13:22:18 +02:00
Added docs to apply so that it is actually complete
This commit is contained in:
parent
ed5756652f
commit
95dada9ceb
@ -1323,7 +1323,14 @@ export class IgnoreOpponentEvasionAbAttr 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 cancelled N/A
|
||||||
|
* @param args [0] {@linkcode Utils.IntegerHolder} of BattleStat.EVA
|
||||||
|
* @returns if evasion level was successfully considered as 0
|
||||||
|
*/
|
||||||
apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]) {
|
apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]) {
|
||||||
(args[0] as Utils.IntegerHolder).value = 0;
|
(args[0] as Utils.IntegerHolder).value = 0;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user