提议整合一个小功能:点击大幻象的宝珠的宏
Jerry-Ma opened this issue · 2 comments
-- credit: EJedi42 https://www.curseforge.com/wow/addons/zoneabilitybinding
BINDING_HEADER_ZoneAbilityBinding = "ZoneAbilityBinding";
_G["BINDING_NAME_" .. "CLICK myZA:LeftButton"] = "Activate Zone Ability Button";
local myza = myZA or CreateFrame("button","myZA",nil,"SecureActionButtonTemplate");
myza:SetAttribute("type","click");
myza:SetAttribute("clickbutton",ZoneAbilityFrame.SpellButton);
可以放在extrabar.lua
里。
用法示例:
# 一个宏搞定各种特殊按钮
/click ExtraActionButton1
/click ExtraQuestButton
/click myZA