mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Clarify that natures.game_index is 1-indexed.
Given that nature was determined by pid % 25 for a long time, I think this is important to note.
This commit is contained in:
parent
a71e4a2c13
commit
f4b73bcd5a
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ class Nature(TableBase):
|
||||||
likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False,
|
likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False,
|
||||||
info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)"))
|
info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)"))
|
||||||
game_index = Column(Integer, unique=True, nullable=False,
|
game_index = Column(Integer, unique=True, nullable=False,
|
||||||
info=dict(description=u"This nature's internal ID in the games."))
|
info=dict(description=u"This nature's internal order in the games (starting from 1, not 0)."))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_neutral(self):
|
def is_neutral(self):
|
||||||
|
|
Loading…
Reference in a new issue