hekili按键驱动免费
(不怕封号,不怕麻烦的再用)
宏1
/run ACStr='local f,b,a,t,k=CreateFrame("Frame"),CreateFrame("Button","ACBtn",nil,"SecureActionButtonTemplate"),...SetOverrideBindingClick(b,1>0,k,b:GetName())b:RegisterForClicks("AnyDown")b:SetAttribute("type","macro")SecureHandlerWrapScript(b,"OnClick"'
宏2
/run ACStr=ACStr..[[,b,'self:CallMethod("'..k..'")self:SetAttribute("macrotext","/use [@cursor"..self:GetParent():GetAttribute("'..k..'"))')b[k]=function()a=HekiliDisplayPrimary.Buttons[1].Ability t=(a.empowered and"]"or",nochanneling]")..(a.item and"it]]
宏3
/run loadstring(ACStr..'em:"..a.item or C_Spell.GetSpellInfo(tonumber(a.known)or a.id).name)..(C_Spell.IsCurrentSpell(6603)and""or"\n/startattack")if t~=f:GetAttribute(k)then b:SetParent()f:SetAttribute(k,t)b:SetParent(f)end end')(GetBinding(1))ACStr=nil
设置指向(一般不需要)
ACSetMacroText("[@cursor]暴风雪")