[Lua] 纯文本查看 复制代码 local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
BeeRun("/console Sound_EnableSFX 0 ") --该条是往下技能开启静音,防止卡技能导致游戏里技能音乱叫
--是否是团队
if GetNumRaidMembers()>0 then
grouptype="raid"
else
grouptype="party"
end
--跟随焦点
if UnitName("focus") and ((BeeRange("focus")<=30 and BeeRange("focus")>=10) or not BeeUnitIsFollow()) then
FollowUnit("focus");
return
end
--自动攻击焦点目标
if not IsMounted("player") then
BeeRun("/target [harm][@focustarget,harm]");
return true;
end
BeeRun("/console Sound_EnableSFX 1 ") --至此开启技能提示音
有什么其它的疑难杂症 可以问我 我会尽所能回复
|