public class MirrorCoat extends DamageReflect
Deals double damage to the target if the user was hit by a special attack.
  • Constructor Details

    • MirrorCoat

      public MirrorCoat()
      Initializes Mirror Coat.
  • Method Details

    • isCorrectCategory

      public boolean isCorrectCategory(AttackCategory category)
      Description copied from class: DamageReflect
      Checks if the attack category is able to be reflected by the move.
      Specified by:
      isCorrectCategory in class DamageReflect
      Parameters:
      category - The category of the attack being used.
      Returns:
      Whether the attack category is able to be reflected by the move.