diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 4022db66f6f..413908a1a7d 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -1298,8 +1298,10 @@ export class ProtectedTag extends BattlerTag { } } +/** Base class for `BattlerTag`s that block damaging moves but not status moves */ export class DamageProtectedTag extends ProtectedTag {} +/** `BattlerTag` class for moves that block damaging moves damage the enemy if the enemy's move makes contact */ export class ContactDamageProtectedTag extends ProtectedTag { private damageRatio: number; @@ -1335,6 +1337,7 @@ export class ContactDamageProtectedTag extends ProtectedTag { } } +/** `BattlerTag` class for moves that block damaging moves and lower enemy stats if the enemy's move makes contact */ export class ContactStatStageChangeProtectedTag extends DamageProtectedTag { private stat: BattleStat; private levels: number; @@ -1391,6 +1394,7 @@ export class ContactPoisonProtectedTag extends ProtectedTag { } } +/** `BattlerTag` class for moves that block damaging moves and burn the enemy if the enemy's move makes contact */ export class ContactBurnProtectedTag extends DamageProtectedTag { constructor(sourceMove: Moves) { super(sourceMove, BattlerTagType.BURNING_BULWARK);