Moves
pokelance.models.abstract.utils.moves
⚓︎
ContestComboDetail
⚓︎
Bases: BaseModel
A contest combo detail resource.
Attributes:
| Name | Type | Description |
|---|---|---|
use_before |
Optional[List[NamedResource]]
|
A detail of moves this move can be used before, i.e. leading into this move. |
use_after |
Optional[List[NamedResource]]
|
A detail of moves this move can be used after, i.e. result in this move being used. |
ContestComboSet
⚓︎
Bases: BaseModel
A contest combo set resource.
Attributes:
| Name | Type | Description |
|---|---|---|
normal |
ContestComboDetail
|
A detail of normal moves in a contest combo. |
super |
ContestComboDetail
|
A detail of super moves in a contest combo. |
MoveFlavorText
⚓︎
Bases: BaseModel
A move flavor text resource.
Attributes:
| Name | Type | Description |
|---|---|---|
flavor_text |
str
|
The localized flavor text for an api resource in a specific language. |
language |
NamedResource
|
The language this name is in. |
version_group |
NamedResource
|
The version group that uses this flavor text. |
MoveMetaData
⚓︎
Bases: BaseModel
A move meta data resource.
Attributes:
| Name | Type | Description |
|---|---|---|
ailment |
NamedResource
|
The status ailment this move inflicts on its target. |
category |
NamedResource
|
The category of move this move falls under, e.g. damage or ailment. |
min_hits |
Optional[int]
|
The minimum number of times this move hits. Null if it always only hits once. |
max_hits |
Optional[int]
|
The maximum number of times this move hits. Null if it always only hits once. |
min_turns |
Optional[int]
|
The minimum number of turns this move continues to take effect. Null if it always only lasts one turn. |
max_turns |
Optional[int]
|
The maximum number of turns this move continues to take effect. Null if it always only lasts one turn. |
drain |
int
|
HP drain (if positive) or Recoil damage (if negative), in percent of damage done. |
healing |
int
|
The amount of hp gained by the attacking Pokemon, in percent of it's maximum HP. |
crit_rate |
int
|
Critical hit rate bonus. |
ailment_chance |
int
|
The likelihood this attack will cause an ailment. |
flinch_chance |
int
|
The likelihood this attack will cause the target Pokémon to flinch. |
stat_chance |
int
|
The likelihood this attack will cause a stat change in the target Pokémon. |
MoveStatChange
⚓︎
Bases: BaseModel
A move stat change resource.
Attributes:
| Name | Type | Description |
|---|---|---|
change |
int
|
The amount of change. |
stat |
NamedResource
|
The stat being affected. |
PastMoveStatValues
⚓︎
Bases: BaseModel
A past move stat values resource.
Attributes:
| Name | Type | Description |
|---|---|---|
accuracy |
Optional[int]
|
The accuracy of this move. |
effect_chance |
Optional[int]
|
The chance of this move causing an effect. |
power |
Optional[int]
|
The power of this move. |
pp |
Optional[int]
|
The amount of PP this move has. |
effect_entries |
List[VerboseEffect]
|
The effect of this move listed in different languages. |
type |
Optional[NamedResource]
|
The type of this move. |
version_group |
NamedResource
|
The version group in which these move stat values were in effect. |