双梦镇吧 关注:1,116,744贴子:112,719,526
  • 3回复贴,共1

新年活动送宏了。。

取消只看楼主收藏回复



IP属地:四川1楼2014-01-20 14:03回复
    /script
    bZiDongZa = bZiDongZa or false
    bZiDongZa2 = bZiDongZa2 or false
    if not bZiDongZa then
    Output("自动砸开启\n")
    bZiDongZa = true
    else
    Output("自动砸关闭\n")
    bZiDongZa = false
    end
    if not bZiDongZa2 then
    RegisterEvent("NPC_ENTER_SCENE", function()
    if not bZiDongZa then return end
    bZiDongZa2 = true
    if GetNpc(arg0).szName == "年兽陶罐" and GetCharacterDistance(GetClientPlayer().dwID,arg0) / 64 <= 4 then
    SetTarget(3,arg0)
    local dwID , Type = Target_GetTargetData()
    if(GetNpc(dwID).szName == "年兽陶罐") then
    OnUseItem(1,1)
    end
    end
    frame_CloseMessageBox("PlayerMessageBoxCommon")
    end)
    end
    function frame_CloseMessageBox(szName)
    local frame = Station.Lookup("Topmost/MB_" .. szName)
    if frame then
    local btn = frame:Lookup("Wnd_All/Btn_Option1")
    if btn and btn:IsEnabled() then
    btn.fnAction(1)
    CloseMessageBox(szName)
    end
    end
    end


    IP属地:四川2楼2014-01-20 14:04
    回复
      2026-06-02 04:40:43
      广告
      不感兴趣
      开通SVIP免广告
      看过复制过请留句话~混点经验罢了


      IP属地:四川4楼2014-01-20 14:04
      收起回复
        等开服一边看爱情公寓4一边水经验。。。但是还是好无聊。。我为双梦流过血!我为双梦立过功!让我玩游戏!


        IP属地:四川26楼2014-01-20 14:26
        回复