魔兽世界玩家社区APP官网

标题: 求教一个火元素点击监控WA+宏 [打印本页]

作者: 冀苍鸾    时间: 2024-9-9 22:05
标题: 求教一个火元素点击监控WA+宏
local e = aura_env
if not _G[e.id.."Button"] then
    local region = WeakAuras.GetRegion(e.id)
    e.btn = CreateFrame("Button", e.id.."Button", region, "SecureActionButtonTemplate")
    e.btn:SetAttribute("type", "spell")
    e.btn:SetAllPoints(region)
end
local btn = _G[e.id.."Button"]
local m = "/use 狂野魔法药水"
btn:SetAttribute("spell","火元素图腾")


请问大佬,这个地方哪里错了?
目前是点图标可以触发火元素,单魔法药水不吃。




欢迎光临 魔兽世界玩家社区APP官网 (https://khd.huaijiufu.com/) Powered by Discuz! X3.5