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

See

apply

Hierarchy (view full)

Constructors

  • Parameters

    • Optional normalHealRatio: number
    • Optional boostedHealRatio: number
    • Optional showAnim: boolean
    • Optional selfTarget: boolean
    • Optional condition: MoveConditionFunc

    Returns BoostHealAttr

Properties

boostedHealRatio?: number

Healing received when condition is true

condition?: MoveConditionFunc

The lambda expression to check against when boosting the healing value

firstHitOnly: boolean

Should this effect only apply on the first hit?

normalHealRatio?: number

Healing received when condition is false

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