Added docs to apply so that it is actually complete

This commit is contained in:
td76099 2024-05-19 00:49:38 -04:00
parent ed5756652f
commit 95dada9ceb

View File

@ -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;