Applies the effects of SuppressAbilitiesAttr if the target has already moved this turn.

See

Moves.CORE_ENFORCER (the move which uses this effect)

Hierarchy (view full)

Constructors

Properties

firstHitOnly: boolean

Should this effect only apply on the first hit?

firstTargetOnly: boolean

Should this effect only apply on the first target hit?

lastHitOnly: boolean

Should this effect only apply on the last hit?

selfTarget: boolean

Should this Move target the user?

Defines when this effect should trigger in the move's effect order

Methods

  • If the target has already acted this turn, apply a SuppressAbilitiesAttr effect unless the abillity cannot be suppressed. This is a secondary effect and has no bearing on the success or failure of the move.

    Parameters

    Returns boolean

    True if the move occurred, otherwise false. Note that true will be returned even if the target has not yet moved or if the suppression failed to apply.

  • Gets the used move's additional effect chance. If user's ability has MoveEffectChanceMultiplierAbAttr or IgnoreMoveEffectsAbAttr modifies the base chance.

    Parameters

    Returns number

    Move chance value.