Preparing search index...
The search index is not available
pokemon-rogue-battle
pokemon-rogue-battle
modifier/modifier
BerryModifier
Class BerryModifier
Hierarchy (
view full
)
PokemonHeldItemModifier
BerryModifier
Index
Constructors
constructor
Properties
berry
Type
consumed
is
Transferrable
pokemon
Id
stack
Count
type
virtual
Stack
Count
Methods
add
apply
clone
get
Args
get
Icon
get
Icon
Stack
Text
get
Max
Held
Item
Count
get
Max
Stack
Count
get
Pokemon
get
Score
Multiplier
get
Secondary
Chance
Multiplier
get
Stack
Count
increment
Stack
is
Icon
Visible
match
match
Type
should
Apply
Constructors
constructor
new
Berry
Modifier
(
type
,
pokemonId
,
berryType
,
stackCount
?
)
:
BerryModifier
Parameters
type
:
ModifierType
pokemonId
:
number
berryType
:
BerryType
Optional
stackCount
:
number
Returns
BerryModifier
Properties
berry
Type
berry
Type
:
BerryType
consumed
consumed
:
boolean
Readonly
is
Transferrable
is
Transferrable
:
boolean
= true
pokemon
Id
pokemon
Id
:
number
stack
Count
stack
Count
:
number
type
type
:
ModifierType
virtual
Stack
Count
virtual
Stack
Count
:
number
Methods
add
add
(
modifiers
,
virtual
,
scene
)
:
boolean
Parameters
modifiers
:
PersistentModifier
[]
virtual
:
boolean
scene
:
default
Returns
boolean
apply
apply
(
args
)
:
boolean
Parameters
args
:
any
[]
Returns
boolean
clone
clone
(
)
:
BerryModifier
Returns
BerryModifier
get
Args
get
Args
(
)
:
any
[]
Returns
any
[]
get
Icon
get
Icon
(
scene
,
forSummary
?
)
:
Container
Parameters
scene
:
default
Optional
forSummary
:
boolean
Returns
Container
get
Icon
Stack
Text
get
Icon
Stack
Text
(
scene
,
virtual
?
)
:
null
|
BitmapText
Parameters
scene
:
default
Optional
virtual
:
boolean
Returns
null
|
BitmapText
get
Max
Held
Item
Count
get
Max
Held
Item
Count
(
pokemon
)
:
number
Parameters
pokemon
:
default
Returns
number
get
Max
Stack
Count
get
Max
Stack
Count
(
scene
,
forThreshold
?
)
:
number
Parameters
scene
:
default
Optional
forThreshold
:
boolean
Returns
number
get
Pokemon
get
Pokemon
(
scene
)
:
undefined
|
default
Parameters
scene
:
default
Returns
undefined
|
default
get
Score
Multiplier
get
Score
Multiplier
(
)
:
number
Returns
number
get
Secondary
Chance
Multiplier
get
Secondary
Chance
Multiplier
(
pokemon
)
:
number
Parameters
pokemon
:
default
Returns
number
get
Stack
Count
get
Stack
Count
(
)
:
number
Returns
number
increment
Stack
increment
Stack
(
scene
,
amount
,
virtual
)
:
boolean
Parameters
scene
:
default
amount
:
number
virtual
:
boolean
Returns
boolean
is
Icon
Visible
is
Icon
Visible
(
scene
)
:
boolean
Parameters
scene
:
default
Returns
boolean
match
match
(
modifier
)
:
boolean
Parameters
modifier
:
Modifier
Returns
boolean
match
Type
match
Type
(
modifier
)
:
boolean
Parameters
modifier
:
Modifier
Returns
boolean
should
Apply
should
Apply
(
args
)
:
boolean
Parameters
args
:
any
[]
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
berry
Type
consumed
is
Transferrable
pokemon
Id
stack
Count
type
virtual
Stack
Count
Methods
add
apply
clone
get
Args
get
Icon
get
Icon
Stack
Text
get
Max
Held
Item
Count
get
Max
Stack
Count
get
Pokemon
get
Score
Multiplier
get
Secondary
Chance
Multiplier
get
Stack
Count
increment
Stack
is
Icon
Visible
match
match
Type
should
Apply
pokemon-rogue-battle
Loading...