.."If you find odd recommendations or other issues, please follow the |cFFFFD100Issue Reporting|r link below and submit all the necessary information to have your issue investigated.\n\n"
.."Please do not submit tickets for routine priority updates (i.e., from SimulationCraft). I will routinely update those when they are published. Thanks!"
do
localcpuProfileDB={}
functionHekili:ProfileCPU(name,func)
cpuProfileDB[name]=func
end
ns.cpuProfile=cpuProfileDB
localframeProfileDB={}
functionHekili:ProfileFrame(name,f)
frameProfileDB[name]=f
end
ns.frameProfile=frameProfileDB
end
ns.lib={
Format={}
}
-- 04072017: Let's go ahead and cache aura information to reduce overhead.
ns.auras={
target={
buff={},
debuff={}
},
player={
buff={},
debuff={}
}
}
Hekili.Class={
specs={},
num=0,
file="NONE",
initialized=false,
resources={},
resourceAuras={},
talents={},
pvptalents={},
auras={},
auraList={},
powers={},
gear={},
setBonuses={},
knownAuraAttributes={},
stateExprs={},
stateFuncs={},
stateTables={},
abilities={},
abilityByName={},
abilityList={},
itemList={},
itemMap={},
itemPack={
lists={
items={}
}
},
packs={},
pets={},
totems={},
potions={},
potionList={},
hooks={},
range=8,
settings={},
stances={},
toggles={},
variables={},
}
Hekili.Scripts={
DB={},
Channels={},
PackInfo={},
}
Hekili.State={}
ns.hotkeys={}
ns.keys={}
ns.queue={}
ns.targets={}
ns.TTD={}
ns.UI={
Displays={},
Buttons={}
}
ns.debug={}
ns.snapshots={}
functionHekili:Query(...)
localoutput=ns
fori=1,select('#',...)do
output=output[select(i,...)]
end
returnoutput
end
functionHekili:Run(...)
localn=select("#",...)
localfn=select(n,...)
localfunc=ns
fori=1,fn-1do
func=func[select(i,...)]
end
returnfunc(select(fn,...))
end
localdebug=ns.debug
localactive_debug
localcurrent_display
locallastIndent=0
functionHekili:SetupDebug(display)
ifnotself.ActiveDebugthenreturnend
ifnotdisplaythenreturnend
current_display=display
debug[current_display]=debug[current_display]or{
log={},
index=1
}
active_debug=debug[current_display]
active_debug.index=1
lastIndent=0
localpack=self.State.system.packName
ifnotpackthenreturnend
self:Debug("New Recommendations for [ %s ] requested at %s ( %.2f ); using %s( %s ) priority.",display,date("%H:%M:%S"),GetTime(),self.DB.profile.packs[pack].builtInand"built-in "or"",pack)