mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Support null PP for Struggle and Shadow moves. #190
This commit is contained in:
parent
d6a96f5ee9
commit
92084b28b3
2 changed files with 21 additions and 21 deletions
pokedex/db
|
@ -665,8 +665,8 @@ class Move(TableBase):
|
|||
info=dict(description="ID of the move's elemental type"))
|
||||
power = Column(SmallInteger, nullable=False,
|
||||
info=dict(description="Base power of the move"))
|
||||
pp = Column(SmallInteger, nullable=False,
|
||||
info=dict(description="Base PP (Power Points) of the move"))
|
||||
pp = Column(SmallInteger, nullable=True,
|
||||
info=dict(description="Base PP (Power Points) of the move, nullable if not applicable (e.g. Struggle and Shadow moves)."))
|
||||
accuracy = Column(SmallInteger, nullable=True,
|
||||
info=dict(description="Accuracy of the move; NULL means it never misses"))
|
||||
priority = Column(SmallInteger, nullable=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue