Base class defining all Move Effect Attributes

apply

Hierarchy (view full)

Constructors

Properties

effect: StatusEffect
effectChanceOverride?: number

Overrides the secondary effect chance for this attr if set.

effects: StatusEffect[]
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?

overrideStatus: boolean = false
selfTarget: boolean

Should this Move target the user?

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

phases.MoveEffectPhase.start

turnsRemaining?: number

Methods