OptionalbattleCount: numberOptionalstackCount: numberGoes through existing modifiers for any that match Silver Pokeball, which will then add the max count of the new item to the existing count of the current item. If no existing Silver Pokeballs are found, will add a new one.
PersistentModifier array of the player's modifiers
N/A
true if the modifier was successfully added or applied, false otherwise
Increases the current rewards in the battle by the stackCount.
NumberHolder that holds the resulting shop item reward count
true if the shop reward number modifier applies successfully
Optional_virtual: booleanOptional_forThreshold: booleanLapses the battleCount by 1.
passed arguments (not in use here)
true if the battleCount is greater than 0
Updates an existing modifier with a new maxBattles and battleCount.
Checks if Modifier should be applied
parameters passed to Modifier.apply
always true by default
Modifier used for timed boosts to the player's shop item rewards.
See
apply