Preparing search index...
The search index is not available
pokemon-rogue-battle
pokemon-rogue-battle
phases/damage-phase
DamagePhase
Class DamagePhase
Hierarchy (
view full
)
PokemonPhase
DamagePhase
Index
Constructors
constructor
Properties
battler
Index
field
Index
player
scene
Methods
apply
Damage
end
execute
For
All
get
Pokemon
hide
Enemy
Trainer
show
Enemy
Trainer
start
update
Amount
Constructors
constructor
new
Damage
Phase
(
scene
,
battlerIndex
,
amount
,
damageResult
?
,
critical
?
)
:
DamagePhase
Parameters
scene
:
default
battlerIndex
:
BattlerIndex
amount
:
number
Optional
damageResult
:
DamageResult
critical
:
boolean
= false
Returns
DamagePhase
Properties
Protected
battler
Index
battler
Index
:
number
field
Index
field
Index
:
number
player
player
:
boolean
Protected
scene
scene
:
default
Methods
apply
Damage
apply
Damage
(
)
:
void
Returns
void
end
end
(
)
:
void
Returns
void
execute
For
All
execute
For
All
(
func
)
:
void
Parameters
func
:
PokemonFunc
Returns
void
get
Pokemon
get
Pokemon
(
)
:
default
Returns
default
hide
Enemy
Trainer
hide
Enemy
Trainer
(
)
:
void
Returns
void
show
Enemy
Trainer
show
Enemy
Trainer
(
trainerSlot
?
)
:
void
Parameters
trainerSlot
:
TrainerSlot
= TrainerSlot.NONE
Returns
void
start
start
(
)
:
void
Returns
void
update
Amount
update
Amount
(
amount
)
:
void
Parameters
amount
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
battler
Index
field
Index
player
scene
Methods
apply
Damage
end
execute
For
All
get
Pokemon
hide
Enemy
Trainer
show
Enemy
Trainer
start
update
Amount
pokemon-rogue-battle
Loading...