Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Parameters

    Returns boolean | Promise<boolean>

  • Please override applyPostAttackAfterMoveTypeCheck instead of this method. By default, this method checks that the move used is a damaging attack before applying the effect of any inherited class. This can be changed by providing a different attackCondition to the constructor. See ConfusionOnStatusEffectAbAttr for an example of an effect that does not require a damaging move.

    Parameters

    Returns boolean | Promise<boolean>

  • This method is only called after applyPostAttack has already been applied. Use this for handling checks specific to the ability in question.

    Parameters

    Returns boolean | Promise<boolean>