Attribute used for moves that steal a random berry from the target. The user then eats the stolen berry. Used for Pluck & Bug Bite.

Hierarchy (view full)

Constructors

Properties

chosenBerry: BerryModifier
firstHitOnly: boolean

Should this effect only apply on the first hit?

selfTarget: boolean

Should this Move target the user?

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

See

MoveEffectPhase.start

Methods

  • User steals a random berry from the target and then eats it.

    Parameters

    • user: default

      Pokemon that used the move and will eat the stolen berry

    • target: default

      Pokemon that will have its berry stolen

    • move: default

      Move being used

    • args: any[]

      Unused

    Returns boolean

    true if the function succeeds