Heals the target or the user by either normalHealRatio or boostedHealRatio depending on the evaluation of condition

apply

Hierarchy (view full)

Constructors

  • Parameters

    • OptionalnormalHealRatio: number
    • OptionalboostedHealRatio: number
    • OptionalshowAnim: boolean
    • OptionalselfTarget: boolean
    • Optionalcondition: MoveConditionFunc

    Returns BoostHealAttr

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

  • Determines whether the Move's effects are valid to apply

    Parameters

    Returns boolean

    true if basic application of the ability attribute should be possible

  • 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.