1 QuestHelper_File
["collect_spec.lua"] = "Development Version"
2 QuestHelper_Loadtime
["collect_spec.lua"] = GetTime()
19 local function GetSpecBolus()
20 local _
, id
= UnitClass("player")
21 local level
= UnitLevel("player")
23 local bso
= Bitstream
.Output(8)
25 for t
= 1, GetNumTalentTabs() do -- come on. Is this ever not going to be 3? Seriously?
26 for ta
= 1, GetNumTalents(t
) do
27 local _
, _
, _
, _
, rank
, _
= GetTalentInfo(t
, ta
)
30 bso
:append(6, 3) -- no 6-point talents, so we use this as an end-of-tree market
32 bso
:append(7, 3) -- end-of-spec! because of *all of those 4-tree classes*
34 return string.format("%s%02d%s", classlookup
[id
], level
, bso
:finish())
37 function QH_Collect_Spec_Init(_
, API
)
38 Bitstream
= API
.Utility_Bitstream
39 QuestHelper
: Assert(Bitstream
)
41 API
.Utility_GetSpecBolus
= GetSpecBolus