Heals user as a side effect of a move that hits a target. Healing is based on healRatio * the amount of damage dealt or a stat of the target.

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?

healRatio: number
healStat: Stat
lastHitOnly: boolean

Should this effect only apply on the last hit?

message: string
selfTarget: boolean

Should this Move target the user?

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

Methods

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