pytenno.models.droptable
- class pytenno.models.droptable.DropSource(type: DropSourceType, item: str, relic: str, rates: RelicRates, rarity: ItemRarity, id: str)[source]
Represents a drop source for an item
- rarity: ItemRarity
The rariry of the item.
- rates: RelicRates
Chance(s) that the item can be found under the conditions of a relic.
- type: DropSourceType
The type of the drop source
- class pytenno.models.droptable.DropTable(missions: list[pytenno.models.missions.DroptableMission], relics: list[pytenno.models.missions.DroptableRelic], npc: list[pytenno.models.missions.DroptableNPC])[source]
Represents an item’s drop table.
- missions: list[pytenno.models.missions.DroptableMission]
The missions where the item can be found.
- npc: list[pytenno.models.missions.DroptableNPC]
The NPCs where the item can be found.
- relics: list[pytenno.models.missions.DroptableRelic]
The relic in which parts for the item can be found.