找回密码
 注册
搜索
楼主: dasha@tj

mush加入讨教qkdny 师兄们有会弄的吗

[复制链接]
门派:明教
发表于 2017-8-7 22:18:16 | 显示全部楼层
function dnyTrigger()
        DeleteTriggerGroup("qk_dny")
        create_trigger_t('qk_dny1','^(> )*\\s*你把 "action" 设定为 "讨教大挪移中" 成功完成','','taoJiaozhang')
        create_trigger_t('qk_dny2',"^(> )*你现在正忙着呢。",'','taoJiaozhang')
        create_trigger_t('qk_dny3',"^(> )*(由于实战经验不足,阻碍了你的「乾坤大挪移」进步!|什么?|你的内力不够)",'','taojiao_over')
        create_trigger_t('qk_dny4',"^(> )*你感觉全身气息翻腾,原来你真气不够,不能装备\\D*。",'','taojiao_over')
        for i=1,4 do SetTriggerOption("qk_dny"..i,"group","qk_dny") end
        EnableTriggerGroup("qk_dny",false)
end
function check_dny()
        exe('nick 讨教乾坤大挪移')
        return go(taojiao_dny,"mingjiao/sht",'')
end
function taojiao_dny()
        dnyTrigger()
        if locl.id[score.master] then
                EnableTriggerGroup("qk_dny",true)
                weapon_unwield()
                local leweapon=GetVariable("learnweapon")
                exe('wield '..leweapon)
                DoAfter(0.5,'alias action 讨教大挪移中')
        else
                ColourNote ("white","blue","师傅不在家!过一会儿再来吧!")
                return taojiao_over()
        end
end
function taoJiaozhang()
        flag.idle=nil
        EnableTriggerGroup("qk_dny",true)
        wait.make(function()
          wait.time(0.5)
          exe('#10(taojiao qiankun-danuoyi);yun jing;alias action 讨教大挪移中')
       end)
end
function taojiao_over()
        messageShow('讨教乾坤大挪移完毕!')
        EnableTriggerGroup("qk_dny",false)
        DeleteTriggerGroup("qk_dny")
        weapon_unwield()
        local leweapon=GetVariable("learnweapon")
        exe('cha;unwield '..leweapon)
        dis_all()
        return check_busy(check_food)
end
门派:明教
发表于 2017-8-7 22:25:06 | 显示全部楼层
function prepareLianxi()
        if mydummy==true then
                EnableTriggerGroup("prepare_neili",false)
                DeleteTriggerGroup("prepare_neili")
                return dummyfind()
        end
        if (not condition.busy or condition.busy == 0) and job.prepare~=duHhe_start and job.prepare~=duCjiang_start then
        return prepare_neili(job.prepare)
    end
        if condition.busy>60 then
                if score.party=='明教' and skills['qiankun-danuoyi'].lvl>450 and skills['qiankun-danuoyi'].lvl<hp.pot_max-102 and hp.pot>=1 then
                        messageShow("任务监控:去向小张同学学习大挪移!","white")
                        return check_halt(check_dny)
                end
                if score.party=="姑苏慕容" and need_dzxy=="yes" and dzxy_level==3 and hp.food>50 and hp.water>50 and (locl.time=="戊" or locl.time=="亥" or locl.time=="子" or locl.time=="丑" ) then
                    messageShow("任务监控:是三段斗转星移,而且是晚上,可以去看星星领悟斗转星移了!","white")
                    return check_halt(checkdzxy)
                end
        end
    flag.jixu=1
    if hp.neili_max>hp.neili_lim-10 then
                exe('unset 积蓄')
    elseif job.prepare and (job.prepare==test or job.prepare==duHhe_start or job.prepare==duCjiang_start) then
                exe('unset 积蓄')
        else
                flag.jixu=0
                exe('unset 积蓄')
        end

        if job.zuhe["gblu"] and not locl.id["铜钱"] and hp.exp<2000000 then exe('drop 1 coin') end

        prepare_neili_a()

end
门派:明教
发表于 2017-8-7 22:29:03 | 显示全部楼层
这些都要谢谢晴雯师姐         
门派:明教
发表于 2017-8-7 22:29:42 | 显示全部楼层
没有晴雯师姐,就没有明教的今天!            
门派:明教
 楼主| 发表于 2017-8-8 09:51:14 | 显示全部楼层
xiren@tj 发表于 2017-8-7 22:29
没有晴雯师姐,就没有明教的今天!

谢谢,我在试试。                  
门派:明教
 楼主| 发表于 2017-8-8 10:50:27 | 显示全部楼层
xiren@tj 发表于 2017-8-7 22:25
function prepareLianxi()
        if mydummy==true then
                EnableTriggerGroup("prepare_neili",false)

还是不去taojiao,是不是要451级才能触发
门派:明教
发表于 2017-8-8 11:03:16 | 显示全部楼层
dasha@tj 发表于 2017-8-8 10:50
还是不去taojiao,是不是要451级才能触发

,,,,,,
,,,,,,,,,,
,,,,,,,,,,,,,,,,
if score.party=='明教' and skills['qiankun-danuoyi'].lvl>450
门派:明教
发表于 2017-8-8 11:03:47 | 显示全部楼层
dasha@tj 发表于 2017-8-8 10:50
还是不去taojiao,是不是要451级才能触发

你没450讨教个啥啊?               
门派:明教
发表于 2017-8-8 11:04:41 | 显示全部楼层
dasha@tj 发表于 2017-8-8 10:50
还是不去taojiao,是不是要451级才能触发

学习比讨教多了            
门派:明教
 楼主| 发表于 2017-8-8 15:15:50 | 显示全部楼层
xiren@tj 发表于 2017-8-8 11:03
你没450讨教个啥啊?

我450级整。。。         
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-6-23 12:13 , Processed in 0.029416 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表