1 QuestHelper_File
["collect_spec.lua"] = "Development Version"
2 QuestHelper_Loadtime
["collect_spec.lua"] = GetTime()
34 local function GetSpecBolus()
35 local _
, id
= UnitClass("player")
36 local level
= UnitLevel("player")
37 local _
, race
= UnitRace("player")
39 assert(racelookup
[race
])
41 local bso
= Bitstream
.Output(8)
43 for t
= 1, GetNumTalentTabs() do -- come on. Is this ever not going to be 3? Seriously?
44 for ta
= 1, GetNumTalents(t
) do
45 local _
, _
, _
, _
, rank
, _
= GetTalentInfo(t
, ta
)
48 bso
:append(6, 3) -- no 6-point talents, so we use this as an end-of-tree market
50 bso
:append(7, 3) -- end-of-spec! because of *all of those 4-tree classes*
52 return string.format("2%s%s%02d", classlookup
[id
], racelookup
[race
] or "", level
) .. bso
:finish()
55 function QH_Collect_Spec_Init(_
, API
)
56 Bitstream
= API
.Utility_Bitstream
57 QuestHelper
: Assert(Bitstream
)
59 API
.Utility_GetSpecBolus
= GetSpecBolus