mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Dump z-powers, z-effects, and dynamax-powers
This commit is contained in:
parent
b53390fde5
commit
7c786a9c57
5 changed files with 934 additions and 845 deletions
|
@ -45,6 +45,7 @@ Moves
|
|||
.. dex-table:: Move
|
||||
.. dex-table:: MoveEffect
|
||||
.. dex-table:: MoveMeta
|
||||
.. dex-table:: ZMoveEffect
|
||||
|
||||
Items
|
||||
-----
|
||||
|
|
File diff suppressed because it is too large
Load diff
32
pokedex/data/csv/z_move_effect_prose.csv
Normal file
32
pokedex/data/csv/z_move_effect_prose.csv
Normal file
|
@ -0,0 +1,32 @@
|
|||
z_move_effect_id,local_language_id,short_effect,effect
|
||||
1,9,Raises the user's Attack by one stage.,Raises the user's [Attack]{mechanic:attack} by one [stage]{mechanic:stage}.
|
||||
2,9,Raises the user's Attack by two stages.,Raises the user's [Attack]{mechanic:attack} by two [stages]{mechanic:stage}.
|
||||
3,9,Raises the user's Attack by three stages.,Raises the user's [Attack]{mechanic:attack} by three [stages]{mechanic:stage}.
|
||||
4,9,Raises the user's Defense by one stage.,Raises the user's [Defense]{mechanic:defense} by one [stage]{mechanic:stage}.
|
||||
5,9,Raises the user's Defense by two stages.,Raises the user's [Defense]{mechanic:defense} by two [stages]{mechanic:stage}.
|
||||
6,9,Raises the user's Defense by three stages.,Raises the user's [Defense]{mechanic:defense} by three [stages]{mechanic:stage}.
|
||||
7,9,Raises the user's Special Attack by one stage.,Raises the user's [Special Attack]{mechanic:special-attack} by one [stage]{mechanic:stage}.
|
||||
8,9,Raises the user's Special Attack by two stages.,Raises the user's [Special Attack]{mechanic:special-attack} by two [stages]{mechanic:stage}.
|
||||
9,9,Raises the user's Special Attack by three stages.,Raises the user's [Special Attack]{mechanic:special-attack} by three [stages]{mechanic:stage}.
|
||||
10,9,Raises the user's Special Defense by one stage.,Raises the user's [Special Defense]{mechanic:special-defense} by one [stage]{mechanic:stage}.
|
||||
11,9,Raises the user's Special Defense by two stages.,Raises the user's [Special Defense]{mechanic:special-defense} by two [stages]{mechanic:stage}.
|
||||
12,9,Raises the user's Special Defense by three stages.,Raises the user's [Special Defense]{mechanic:special-defense} by three [stages]{mechanic:stage}.
|
||||
13,9,Raises the user's Speed by one stage.,Raises the user's [Speed]{mechanic:speed} by one [stage]{mechanic:stage}.
|
||||
14,9,Raises the user's Speed by two stages.,Raises the user's [Speed]{mechanic:speed} by two [stages]{mechanic:stage}.
|
||||
15,9,Raises the user's Speed by three stages.,Raises the user's [Speed]{mechanic:speed} by three [stages]{mechanic:stage}.
|
||||
16,9,Raises the user's Accuracy by one stage.,Raises the user's [Accuracy]{mechanic:accuracy} by one [stage]{mechanic:stage}.
|
||||
17,9,Raises the user's Accuracy by two stages.,Raises the user's [Accuracy]{mechanic:accuracy} by two [stages]{mechanic:stage}.
|
||||
18,9,Raises the user's Accuracy by three stages.,Raises the user's [Accuracy]{mechanic:accuracy} by three [stages]{mechanic:stage}.
|
||||
19,9,Raises the user's Evasion by one stage.,Raises the user's [Evasion]{mechanic:evasion} by one [stage]{mechanic:stage}.
|
||||
20,9,Raises the user's Evasion by two stages.,Raises the user's [Evasion]{mechanic:evasion} by two [stages]{mechanic:stage}.
|
||||
21,9,Raises the user's Evasion by three stages.,Raises the user's [Evasion]{mechanic:evasion} by three [stages]{mechanic:stage}.
|
||||
22,9,Raises all of the user's stats by one stage.,Raises all of the user's [stats]{mechanic:stat} by one [stage]{mechanic:stage}.
|
||||
23,9,Raises all of the user's stats by two stage.,Raises all of the user's [stats]{mechanic:stat} by two [stage]{mechanic:stage}.
|
||||
24,9,Raises all of the user's stats by three stage.,Raises all of the user's [stats]{mechanic:stat} by three [stage]{mechanic:stage}.
|
||||
25,9,Increases the user's chance to score a critical hit.,User's [critical hit]{mechanic:critical-hit} rate is two levels higher until it leaves the field.
|
||||
26,9,"Resets all of the user's lowered stats, accuracy, and evasion.","Resets all of the user's lowered [stats]{mechanic:stat}, [accuracy]{mechanic:accuracy}, and [evasion]{mechanic:evasion}."
|
||||
27,9,Heals all of the user's HP.,Heals all of the user's [HP]{mechanic:hp}.
|
||||
28,9,Heals all of the replacement's HP.,Heals all of the replacement's [HP]{mechanic:hp}.
|
||||
29,9,Redirects the target's single-target effects to the user for this turn.,"Until the end of this turn, any moves that opposing Pokémon target solely at the user's ally will instead target the user."
|
||||
30,9,Ghosts recover all their HP. Others increase Attack.,"If the user is a []{type:ghost}: heals all of the user's [HP]{mechanic:hp}.
|
||||
Otherwise: Raises the user's [Attack]{mechanic:attack} by one [stage]{mechanic:stage}."
|
|
26
pokedex/data/csv/z_move_effects.csv
Normal file
26
pokedex/data/csv/z_move_effects.csv
Normal file
|
@ -0,0 +1,26 @@
|
|||
id
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
14
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
|
|
@ -1236,6 +1236,12 @@ class Move(TableBase):
|
|||
doc=u"ID of the move's Contest effect")
|
||||
super_contest_effect_id = Column(Integer, ForeignKey('super_contest_effects.id'), nullable=True,
|
||||
doc=u"ID of the move's Super Contest effect")
|
||||
z_power = Column(SmallInteger, nullable=True,
|
||||
doc=u"Z-power of the move, null if it does not have a set z-power.")
|
||||
z_effect_id = Column(Integer, ForeignKey('z_move_effects.id'), nullable=True,
|
||||
doc=u"ID of the z-move's effect, null if it does not have a set z-move effect.")
|
||||
dynamax_power = Column(SmallInteger, nullable=True,
|
||||
doc=u"Dynamax power of the move, null if it does not have a set dynamax power.")
|
||||
|
||||
create_translation_table('move_names', Move, 'names',
|
||||
relation_lazy='joined',
|
||||
|
@ -2280,6 +2286,22 @@ class VersionGroupRegion(TableBase):
|
|||
region_id = Column(Integer, ForeignKey('regions.id'), primary_key=True, nullable=False,
|
||||
doc=u"The ID of the region.")
|
||||
|
||||
class ZMoveEffect(TableBase):
|
||||
u"""An effect of a z-move."""
|
||||
__tablename__ = 'z_move_effects'
|
||||
__singlename__ = 'z_move_effect'
|
||||
id = Column(Integer, primary_key=True, nullable=False,
|
||||
doc=u"A numeric ID")
|
||||
|
||||
create_translation_table('z_move_effect_prose', ZMoveEffect, 'prose',
|
||||
short_effect = Column(UnicodeText, nullable=True,
|
||||
doc=u"A short summary of the effect",
|
||||
info=dict(format='markdown')),
|
||||
effect = Column(UnicodeText, nullable=True,
|
||||
doc=u"A detailed description of the effect",
|
||||
info=dict(format='markdown')),
|
||||
)
|
||||
|
||||
|
||||
### Relationships down here, to avoid dependency ordering problems
|
||||
|
||||
|
@ -2587,12 +2609,20 @@ Move.target = relationship(MoveTarget,
|
|||
Move.type = relationship(Type,
|
||||
innerjoin=True, lazy='joined',
|
||||
backref='moves')
|
||||
Move.z_move_effect = relationship(ZMoveEffect,
|
||||
innerjoin=True,
|
||||
backref='moves')
|
||||
|
||||
Move.effect = markdown.MoveEffectProperty('effect')
|
||||
Move.effect_map = markdown.MoveEffectPropertyMap('effect_map')
|
||||
Move.short_effect = markdown.MoveEffectProperty('short_effect')
|
||||
Move.short_effect_map = markdown.MoveEffectPropertyMap('short_effect_map')
|
||||
|
||||
Move.z_effect = markdown.MoveEffectProperty('z_effect', relationship='z_move_effect')
|
||||
Move.z_effect_map = markdown.MoveEffectPropertyMap('z_effect_map', relationship='z_move_effect')
|
||||
Move.z_short_effect = markdown.MoveEffectProperty('z_short_effect', relationship='z_move_effect')
|
||||
Move.z_short_effect_map = markdown.MoveEffectPropertyMap('z_short_effect_map', relationship='z_move_effect')
|
||||
|
||||
MoveChangelog.changed_in = relationship(VersionGroup,
|
||||
innerjoin=True, lazy='joined',
|
||||
backref='move_changelog')
|
||||
|
|
Loading…
Reference in a new issue