From 969fd86f1f84d76e677d4c38f5829e3310e81bf6 Mon Sep 17 00:00:00 2001 From: Zach Day Date: Mon, 10 Jun 2024 17:42:21 -0400 Subject: [PATCH] Improve documentation --- src/data/battler-tags.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 414c114ae9b..292e5c8f1a4 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -93,7 +93,10 @@ export interface TerrainBattlerTag { } /** - * Base class for tags that disable moves. Descendants can override {@linkcode moveIsDisabled} to disable moves that match a condition. + * Base class for tags that disable moves. Descendants can override {@linkcode moveIsDisabled} to disable moves that + * match a condition. Note that this tag does not do anything on its own; instead, during the move phase, move users + * check for all tags that are a subclass of this, and marks moves that match a {@linkcode moveIsDisabled} predicate + * as disabled. */ export abstract class DisablingBattlerTag extends BattlerTag { public abstract moveIsDisabled(move: Moves): boolean;