剑网3明教猫王考验求个宏
你好,你可以考虑使用一键QTE插件,或许使用下边这个宏
/script
local p = GetClientPlayer()
local bufflist = p.GetBuffList() or {}
lastt = lastt or {}
for i, v in pairs(bufflist) do
if Table_GetBuffName(v.dwID,v.nLevel) == "乾" and (not lastt["乾"] or GetLogicFrameCount() - lastt["乾"] >=16) then
OnAddOnUseSkill(4147,1)
lastt["乾"] = GetLogicFrameCount()
end
if Table_GetBuffName(v.dwID,v.nLevel) == "坤" and (not lastt["坤"] or GetLogicFrameCount() - lastt["坤"] >=16) then
OnAddOnUseSkill(4148,1)
lastt["坤"] = GetLogicFrameCount()
end
if Table_GetBuffName(v.dwID,v.nLevel) == "挪" and (not lastt["挪"] or GetLogicFrameCount() - lastt["挪"] >=16) then
OnAddOnUseSkill(4149,1)
lastt["挪"] = GetLogicFrameCount()
end
if Table_GetBuffName(v.dwID,v.nLevel) == "移" and (not lastt["移"] or GetLogicFrameCount() - lastt["移"] >=16) then
OnAddOnUseSkill(4150,1)
lastt["移"] = GetLogicFrameCount()
end
end
新建一个宏,快捷键放在副快捷栏