talent ====== .. py:module:: wow.models.talent .. autoapi-nested-parse:: Models for the Talent and Talent Tree APIs. .. py:class:: TalentRankDescription Bases: :py:obj:`wow.models._common.Model` The tooltip text for one rank of a talent. .. py:attribute:: rank :type: int .. py:attribute:: description :type: str .. py:class:: TalentIndex Bases: :py:obj:`wow.models._common.Document` Every talent across every class and specialization. Forever has 651 talents. .. py:attribute:: talents :type: tuple[wow.models._common.Ref, ...] .. py:class:: TalentClassRef Bases: :py:obj:`wow.models._common.Model` The class a talent belongs to. Class-wide talents carry no ``name``. .. py:attribute:: key :type: wow.models._common.Link .. py:attribute:: id :type: int .. py:attribute:: name :type: str | None :value: None .. py:class:: Talent Bases: :py:obj:`wow.models._common.Document` A single talent, with the spell it grants and its per-rank descriptions. Specialization talents carry ``playable_specialization``; class-wide talents do not. Some talents are bare ids, with no class, spell or ranks. .. py:attribute:: id :type: int .. py:attribute:: playable_class :type: TalentClassRef | None :value: None .. py:attribute:: playable_specialization :type: wow.models._common.Ref | None :value: None .. py:attribute:: spell :type: wow.models._common.Ref | None :value: None .. py:attribute:: rank_descriptions :type: tuple[TalentRankDescription, ...] :value: () .. py:class:: TalentTreeIndex Bases: :py:obj:`wow.models._common.Document` Every class and specialization talent tree. Forever has 9 class trees and 27 spec trees. .. py:attribute:: class_talent_trees :type: tuple[wow.models._common.NamedLink, ...] .. py:attribute:: spec_talent_trees :type: tuple[wow.models._common.NamedLink, ...] .. py:class:: TalentTreeMedia Bases: :py:obj:`wow.models._common.Model` A talent tree's media link, with no id of its own. .. py:attribute:: key :type: wow.models._common.Link .. py:class:: SpellTooltip Bases: :py:obj:`wow.models._common.Model` The rendered tooltip for one talent rank's spell. .. py:attribute:: cast_time :type: str .. py:attribute:: description :type: str .. py:attribute:: spell :type: wow.models._common.Ref .. py:attribute:: power_cost :type: str | None :value: None .. py:attribute:: cooldown :type: str | None :value: None .. py:attribute:: range_ :type: str | None .. py:class:: TalentTreeNodeRankTooltip Bases: :py:obj:`wow.models._common.Model` The talent and spell shown for one rank of a talent tree node. .. py:attribute:: talent :type: wow.models._common.Ref .. py:attribute:: spell_tooltip :type: SpellTooltip .. py:class:: TalentTreeNodeRank Bases: :py:obj:`wow.models._common.Model` One learnable rank of a talent tree node. .. py:attribute:: rank :type: int .. py:attribute:: tooltip :type: TalentTreeNodeRankTooltip .. py:class:: TalentTreeNodeType Bases: :py:obj:`wow.models._common.Model` A talent tree node's kind, such as an active talent. .. py:attribute:: id :type: int .. py:attribute:: type :type: str .. py:class:: TalentTreeNode Bases: :py:obj:`wow.models._common.Model` One node in a specialization's talent tree, positioned on its grid. .. py:attribute:: id :type: int .. py:attribute:: display_row :type: int .. py:attribute:: display_col :type: int .. py:attribute:: raw_position_x :type: int .. py:attribute:: raw_position_y :type: int .. py:attribute:: node_type :type: TalentTreeNodeType .. py:attribute:: ranks :type: tuple[TalentTreeNodeRank, ...] .. py:attribute:: locked_by :type: tuple[int, ...] :value: () .. py:attribute:: unlocks :type: tuple[int, ...] :value: () .. py:class:: TalentTree Bases: :py:obj:`wow.models._common.Document` One specialization's talent tree: its nodes, positions and prerequisites. .. py:attribute:: id :type: int .. py:attribute:: name :type: str .. py:attribute:: media :type: TalentTreeMedia .. py:attribute:: playable_class :type: wow.models._common.Ref .. py:attribute:: playable_specialization :type: wow.models._common.Ref .. py:attribute:: spec_talent_nodes :type: tuple[TalentTreeNode, ...]