萌新求大佬给个自动武道塔流程



  • 求大佬给一个,我复制到流程里,谢谢啦



  • @百万

    // 武道自定义参数
    [if] (WudaoMode) == null || (WudaoMode) = 正常肝塔
    ($WudaoMode) = 正常模式
    [if] (WudaoRenew) == null
    ($WudaoRenew) = 天地诀
    [if] (WudaoWaitCDLevel) == null
    ($WudaoWaitCDLevel) = 30
    [if] (WudaoManualMaxLevel) == null
    ($WudaoManualMaxLevel) = 84
    [if] (WudaoWaitCDExp) == null
    ($WudaoWaitCDExp) = ^none
    [if] (WudaoBefore) == null
    ($WudaoBefore) = $eq 1
    #select ($WudaoMode)=武道塔模式<ord>(快速模式建议至少已有血刀九阴)</ord>,正常模式|快速模式|只打塔主,(WudaoMode)
    #select ($WudaoRenew)=<hiz>快速模式</hiz>恢复内力方式,武庙恢复|天地诀,(WudaoRenew)
    #input ($WudaoBefore)=打塔前执行命令(用英文;隔开),(WudaoBefore)
    #input ($WudaoWaitCDExp)=打塔等待以下技能冷却,(WudaoWaitCDExp)
    #input ($WudaoWaitCDLevel)=从此层开始,等待技能冷却,(WudaoWaitCDLevel)
    #input ($WudaoManualMaxLevel)=从此层开始快速扫荡,(WudaoManualMaxLevel)
    // 武道塔
    ($currentN) = null
    [if] (WudaoMode) == 正常模式 || (WudaoMode) == 快速模式 || (RCMode) == 春节模式
    @toolbar jh
    @toolbar tasks
    @task 武道塔($reset)重置,进度($currentN)/($finalN),|武道塔($reset)重置,进度($currentN)/($finalN),
    [if] (reset) == 已 && (currentN) != null && (currentN) == (finalN) && (finalN) != 0
    @print <hiy>当日武道塔已完成。</hiy>
    [else]
    stopstate
    @cd
    @print 开始自动武道塔
    @tidyBag
    @await 2000
    (WudaoBefore)
    @await 5000
    @renew
    [if] (WudaoMode) == 快速模式
    @cmdDelay 500
    jh fam 9 start
    @toolbar jh
    @toolbar tasks
    @task 武道塔可以重置,进度($currentN)/($finalN),|武道塔已重置,进度($currentN)/($finalN),
    @print 当前武道塔进度:(currentN)/(finalN)
    @await 2000
    [if] (currentN) == (finalN)
    ask1 {r守门人}
    @tip 从头开始挑战|已经重置
    @await 2000
    [while] (wdlevel) == null
    jh fam 9 start
    @await 500
    @tip 你目前可以直接去挑战第($wdlevel)层
    @print 开始挑战第(wdlevel)层
    [if] (RCMode) == 正常模式
    go enter
    [while] (RCMode) == 正常模式
    [if] (:room) == 武道塔-第一百层 || (:room) == 武道塔-塔顶
    [break]
    [if] (WudaoMode) == 正常模式
    [if] (wdlevel) >= (WudaoManualMaxLevel)
    [break]
    [if] (:hpPer) < 0.7 || (:mpPer) < 0.3
    @renew
    jh fam 9 start;go enter
    [if] (wdlevel) >= (WudaoWaitCDLevel)
    @cd (WudaoWaitCDExp)
    [else if] (WudaoMode) == 快速模式
    [if] (:mpPer) <= 0.2
    [if] (WudaoRenew) == null
    ($WudaoRenew) = 天地诀
    [if] (WudaoRenew) == 天地诀
    ($wdforce)=(:kf_nei)
    enable force changshengjue
    [if] (:kf_nei) != changshengjue
    ($WudaoRenew) = 武庙恢复
    [if] (wdforce) != null
    enable force (wdforce)
    @print <hiy>无法装备长生诀,改回武庙恢复模式。</hiy>
    [else]
    @cd force.zhen
    @perform force.zhen
    @tip 你的($less)不够,无法使用【天地决】|转瞬间重获新生
    enable force (wdforce)
    [if] (less) != null
    ($less) = null
    [while] (:room) != 扬州城-武庙
    $to 扬州城-武庙
    @await 500
    @dazuo
    jh fam 9 start;go enter
    [if] (WudaoRenew) == 武庙恢复
    [while] (:room) != 扬州城-武庙
    $to 扬州城-武庙
    @await 500
    @dazuo
    jh fam 9 start;go enter
    @await 2000
    //stopstate
    [if] (:hpPer) <= 0.01
    @js var jy='(:room)'.indexOf('第七十');if(jy!=-1){WG.SendCmd('liaoshang;$wait 10000;stopstate')}
    @await 100
    @until (:state) != 疗伤
    kill {r武道塔守护者}?
    [if] (WudaoMode) == 正常模式
    @await 500
    @until (:combating) == false && (:free) == true && (:status faint) == false && (:status miss) == false
    [if] {r武道塔守护者}? != null
    [continue]
    [else]
    ($wdlevel) = (wdlevel) + 1
    go up
    [if] (WudaoMode) == 正常模式 || (RCMode) == 春节模式
    ($num)=0
    jh fam 9 start
    ask2 {r守门人}
    @tip 用不着快速挑战了|不用快速挑战|快速挑战需要($num)张扫荡符
    [if] (num) > 0 && (RCMode) != 春节模式
    [if] {b扫荡符#}? < (num) || {b扫荡符}? == null
    shop 0 (num)
    ask2 {r守门人};ask3 {r守门人}
    @tip 你的扫荡符不够|挑战完成|用不着快速挑战了|不用快速挑战
    @cmdDelay
    @await 2000
    stopstate
    @tidyBag
    //@liaoshang
    [else if] (WudaoMode) == 只打塔主
    @print <hiy>已设置只打塔主,跳过武道塔。</hiy>
    tm 已设置只打塔主,跳过武道塔。



  • @adonis 请问一下,我把程序放在流程的位置,执行的时后报错

    编译错误: TypeError: Cannot read property 'push' of undefined

    请问大佬有解决方法吗谢谢




登录后回复