本帖最后由 皮皮 于 2025-11-3 02:03 PM 编辑
类似的应用比如老4小萨的印记点自己就消失,影遁,假死等等。躲避印记。[Lua] 纯文本查看 复制代码 if BeeUnitAffectingCombat() then
-- 焦点设置,点印记自动消失影遁
if UnitName("focus") == "死亡使者萨鲁法尔" then
local spell = UnitCastingInfo("focus")
if spell and (spell == "阵亡勇士的印记" or spell == "Defile") then
if UnitName("focustarget") == UnitName("player") then
if BeeSpellCoolDown("消失") == 0 then
BeeRun("消失")
elseif BeeSpellCoolDown("影遁") == 0 and not BeeStringFind(BeeUnitBuffList("player"), "潜行") then
BeeRun("影遁")
end
end
end
end
end
|