Optional
battleCount: numberOptional
stackCount: numberGoes through existing modifiers for any that match the selected modifier, which will then either add it to the existing modifiers if none were found or, if one was found, it will refresh battleCount.
PersistentModifier
array of the player's modifiers
N/A
true
if the modifier was successfully added or applied, false otherwise
Increases the chance of a double battle occurring
NumberHolder
for double battle chance
true
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 passive items, specifically lures, that temporarily increases the chance of a double battle.
See
apply