From 95dada9ceb48cffba6a94a41c73e56093aa40d82 Mon Sep 17 00:00:00 2001 From: td76099 Date: Sun, 19 May 2024 00:49:38 -0400 Subject: [PATCH] Added docs to apply so that it is actually complete --- src/data/ability.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index f0a39e4f39f..8cf2ed4e86a 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -1323,7 +1323,14 @@ export class IgnoreOpponentEvasionAbAttr extends AbAttr { constructor() { 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[]) { (args[0] as Utils.IntegerHolder).value = 0; return true;