mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Add identifiers for move flags.
This commit is contained in:
parent
ed4adf16f9
commit
c65c72842f
2 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
id,name,description
|
id,identifier,name,description
|
||||||
1,Makes contact,"User touches the target. This triggers some abilities (e.g., [Static]{ability}) and items (e.g., [Sticky Barb]{item})."
|
1,contact,Makes contact,"User touches the target. This triggers some abilities (e.g., [Static]{ability}) and items (e.g., [Sticky Barb]{item})."
|
||||||
2,Blocked by Detect and Protect,This move will not work if the target has used [Detect]{move} or [Protect]{move} this turn.
|
2,protect,Blocked by Detect and Protect,This move will not work if the target has used [Detect]{move} or [Protect]{move} this turn.
|
||||||
3,Reflectable with Magic Coat,This move will be reflected back at the user if the target has used [Magic Coat]{move} this turn.
|
3,reflect,Reflectable with Magic Coat,This move will be reflected back at the user if the target has used [Magic Coat]{move} this turn.
|
||||||
4,Snatchable,This move will be stolen if another Pokémon has used [Snatch]{move} this turn.
|
4,snatch,Snatchable,This move will be stolen if another Pokémon has used [Snatch]{move} this turn.
|
||||||
5,Rolls accuracy,This move is affected by [accuracy]{mechanic} and [evasion]{mechanic} modifiers.
|
5,accuracy,Rolls accuracy,This move is affected by [accuracy]{mechanic} and [evasion]{mechanic} modifiers.
|
||||||
6,Flinches with King's Rock,A held [King's Rock]{item} gives this move an 11.7% chance to make the target [flinch]{mechanic}.
|
6,flinch,Flinches with King's Rock,A held [King's Rock]{item} gives this move an 11.7% chance to make the target [flinch]{mechanic}.
|
||||||
|
|
|
|
@ -342,6 +342,7 @@ class MoveFlag(TableBase):
|
||||||
class MoveFlagType(TableBase):
|
class MoveFlagType(TableBase):
|
||||||
__tablename__ = 'move_flag_types'
|
__tablename__ = 'move_flag_types'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
identifier = Column(Unicode(16), nullable=False)
|
||||||
name = Column(Unicode(32), nullable=False)
|
name = Column(Unicode(32), nullable=False)
|
||||||
description = Column(markdown.MarkdownColumn(128), nullable=False)
|
description = Column(markdown.MarkdownColumn(128), nullable=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue