mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Add slot index to encounter_slots
This commit is contained in:
parent
584057e6ed
commit
ef798afdcb
2 changed files with 125 additions and 124 deletions
pokedex/db
|
@ -118,7 +118,8 @@ class EncounterSlot(TableBase):
|
|||
id = Column(Integer, primary_key=True, nullable=False)
|
||||
version_group_id = Column(Integer, ForeignKey('version_groups.id'), nullable=False, autoincrement=False)
|
||||
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False)
|
||||
rarity = Column(Integer, nullable=False, autoincrement=False)
|
||||
slot = Column(Integer, nullable=True)
|
||||
rarity = Column(Integer, nullable=False)
|
||||
|
||||
class EncounterSlotCondition(TableBase):
|
||||
"""Lists all conditions that affect each slot."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue