God_Envy 发表于 2014-10-31 20:07:14

猎人带刷刷红玉的脚本,高手看看,哪里错了啊

能帮忙看下,这个那里错了
-- Class ID 253 - Huntard
ProbablyEngine.rotation.register(253, {


-- COMBAT
-- Cooldowns

        { "5384", "modifier.cooldowns" },
        { "117050", "modifier.cooldowns" },

-- Rotation
        { "/target 焦鳞突击者\n/cast 2643", { "focus.exists" , "focus.health >= 100" }}, -- 如果焦点的生命值大于等于100则对焦鳞突击者
        { "/target 焦鳞突击者\n/cast 2643",{ "player.focus >= 30" }},
        { "77767",{ "player.focus <= 20" }},
        { "/target 焦鳞祈求者\n/cast 2643",{ "target.exists" , "target.health <= 0" }},
        { "2643" }
        { "3044" }
------------------
-- End Rotation --
------------------

} )


风君子 发表于 2014-10-31 21:23:56

本帖最后由 风君子 于 2014-11-1 08:36 编辑

.... ...... .....

风君子 发表于 2014-10-31 21:28:08

关于代刷红玉,寻怪脚本可以这么写:
--寻怪
    { "/cancelaura 雪怒之捷", { "player.buff(146194)", "focus.health < 30" }},                                              -- 取消橙皮特效
    { "/target 焦鳞突击者", { "!target.exists" }},
    { "/target 焦鳞祈求者", { "target.name(焦鳞突击者)", "target.dead" }},      
    { "/target ", { "target.name(焦鳞祈求者)", "target.dead" }},

脱战脚本可以这么写:
--脱战
    { "/petpassive\n/cast 解散宠物", { "!pet.dead", "pet.exists","target.name(焦鳞指挥官)", "focus.exists" , "focus.health < 95" }}, -- 解散宝宝   
    { "/petpassive\n/cast 解散宠物", { "!pet.dead", "pet.exists", "focus.health < 30" }},                                              -- 解散宝宝
    { "/petpassive\n/cast 解散宠物", { "!pet.dead", "pet.exists", "player.health < 50" }},                                             -- 解散宝宝
    { "5384", { "!pet.exists", "focus.health < 95", "player.spell(5384).cooldown = 0" }},                                              --假死
    { "/stopcasting", { "!pet.exists", "player.casting(解散宠物)", "player.spell(5384).cooldown = 0" }},                               --假死

风君子 发表于 2014-10-31 21:36:39

你可以设定一个焦鳞指挥官为焦点(因为有2个指挥官),通过依次寻怪把其他的怪干掉,最后寻焦鳞指挥官的时候解散宝宝,假死完成一次循环

wdbw 发表于 2016-12-30 18:06:48

页: [1]
查看完整版本: 猎人带刷刷红玉的脚本,高手看看,哪里错了啊