The type of item to create
Chance to create an item
Applies ability effects without checking conditions
The pokemon to apply this ability to
Whether or not the ability is a passive
Whether the call is simulated
Extra args passed to the function. Handled by child classes.
Returns a boolean describing whether the ability can be applied under current conditions
The pokemon to apply this ability to
Whether or not the ability is a passive
Whether the call is simulated
Extra args passed to the function. Handled by child classes.
true
if the ability can be applied, false
otherwise
Create a new berry chosen randomly from the berries the pokemon ate this battle
The pokemon with this ability
whether the associated ability call is simulated
whether a new berry was created
After the turn ends, try to create an extra item