PayPal 發表於 2016-7-5 15:33:49

koreeasy 有關設置問題

KE設置:

請注意,setup目錄中,配置文件有優先級,config.txt大於其它文件。
**** Hidden Message *****

PE設置:

啟動器是簡體的,內容沒幾個字,如果顯示亂碼就猜一下。

腳本,是PKEasy.lua,內容可以自己隨意修改,顯示繁體,只需用Big5編碼寫繁體文本即可。AI部分完全開放,自由發揮。

下面給個牧師自動給全隊12++的腳本,以供參考。

-- 全局初始化
if not GlobalsInit then

        -- 聲明自己ID
        myID = GetMyID()

        -- 聲明AI開關(默認關閉)
        bAISwitch = 0

        function OnPlayerClose(tID)
                if IsFriendly(tID, true) and not IsInStatus(tID, 10) then
                        CastSkillAt(34, 0, tID)
                end
                if IsFriendly(tID, true) and not IsInStatus(tID, 12) then
                        CastSkillAt(29, 0, tID)
                end
                if IsFriendly(tID, true) and GetHPPercent(tID) < 90 then
                        CastSkillAt(28, 0, tID)
                end
        end

        -- 聲明熱鍵
        function OnHotKeySwitch()
                if bAISwitch == 0 then
                        bAISwitch = 1
                        PrintMsg(' : AI開啟', 0xC6E2FF)
                else
                        bAISwitch = 0
                        PrintMsg(' : AI關閉', 0xC6E2FF)
                end
        end

        SetHotKeyFunc(0xC0, true, 'OnHotKeySwitch')
        GlobalsInit = 1
end

-- AI總開關
if bAISwitch == 0 then
        return
else

        EnumThreatInRange(10, 'OnPlayerClose', true, 500)

        -- 延時判斷
        if not nCounter then
                nCounter = 0
        end
        nCounter = nCounter + 1

        if (nCounter % 500 == 0) then

                if GetHPPercent(myID) < 90 then
                        CastSkillAt(28, 0, myID)
                end

                if not IsInStatus(myID, 10) then
                        CastSkillAt(34, 0, myID)
                end

                if not IsInStatus(myID, 12) then
                        CastSkillAt(29, 0, myID)
                end

                if not IsInStatus(myID, 0x14) then
                        CastSkillAt(74, 0, myID)
                end
        end
end
頁: [1]
查看完整版本: koreeasy 有關設置問題