《剑网3》一年一度的元旦活动有开启了,小伙伴们还有龙门龙卷风飞不上去的么?小编找到了跳龙卷风的宏,分享给大家。希望大家都能拿到飞剑。
先是跳龙卷风QTE的:
/script
local player = GetClientPlayer()
local listBuff = player.GetBuffList() or {}
mem = mem or {}
for _, v in pairs(listBuff) do
if v.dwID==5046 and (not mem["5046"] or GetLogicFrameCount() - mem["5046"] >=16) then
OnAddOnUseSkill(7819,1)
mem["5046"] = GetLogicFrameCount()
end
if v.dwID==5047 and (not mem["5047"] or GetLogicFrameCount() - mem["5047"] >=16) then
OnAddOnUseSkill(7820,1)
mem["5047"] = GetLogicFrameCount()
end
if v.dwID==5048 and (not mem["5048"] or GetLogicFrameCount() - mem["5048"] >=16) then
OnAddOnUseSkill(7821,1)
mem["5048"] = GetLogicFrameCount()
end
end
抢胡月宝箱的:
/script for k,v in pairs(GetNpcList() or {}) do
local Npc = GetNpc(v)
if Npc.szName == "胡月宝箱" and GetCharacterDistance(GetClientPlayer().dwID, v) / 64 < 6 then
InteractNpc(v)
end
end
主城门口砸金蛋蛋:
/script for k,v in pairs(GetNpcList() or {}) do
local Npc = GetNpc(v)
if Npc.szName == "龙门金蛋" and GetCharacterDistance(GetClientPlayer().dwID, v) / 64 < 6 then
InteractNpc(v)
end
end
RegisterEvent("OPEN_WINDOW",function()
if string.find(arg1,"运功击裂金蛋宝箱") then
GetClientPlayer().WindowSelect(arg0,0)
CloseDialoguePanel(true)
end
end)