pytenno.models.droptable

class pytenno.models.droptable.Drop(name: str, link: str)[source]

Represents an item’s drop.

Link to the internal or extarnal source with information about that location.

name: str

The translated name of the location / item.

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

id: str

The ID of the drop source

item: str

The ID of the item dropped

rarity: ItemRarity

The rariry of the item.

rates: RelicRates

Chance(s) that the item can be found under the conditions of a relic.

relic: str

The ID of the relic where parts for the item can be found.

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.

class pytenno.models.droptable.RelicRates(intact: float, exceptional: float, flawless: float, radiant: float)[source]

Reprents a relic’s chance for an item at varius rarities