增加挑战失败的
<-stopSSAuto
<-recordGains
[if] (WudaoWaitCDLevel) == null
($WudaoWaitCDLevel) = 75
[if] (Wudaoliaoshang) == null
($Wudaoliaoshang) = 75
[if] (WudaoWaitCDExp) == null
($WudaoWaitCDExp) = ^none
[if] (WudaoManualMaxLevel) == null
($WudaoManualMaxLevel) = 84
[if] (HpThreshold) == null
($HpThreshold) = 90
[if] (MpThreshold) == null
($MpThreshold) = 70
($Blade) = 否
[if] (:kf_dao) == xuedao
($Blade) = 是
@print 判断为血刀使用者
[if] (Restart) == null
($Restart) = 是
[if] (Shop) == null
($Shop) = 否
[if] (Speedwudao) == null
($Speedwudao) = 500
[if] (Rekill) == null
($Rekill) = 5
($rekill) = 0
#input ($WudaoWaitCDLevel)=从此层开始,等待技能冷却,(WudaoWaitCDLevel)
#input ($Wudaoliaoshang)=从此层开始,开始每层原地疗伤,(Wudaoliaoshang)
#input ($Rekill)=挑战失败重新挑战次数,(Rekill)
#input ($WudaoWaitCDExp)=等待以下技能冷却,(WudaoWaitCDExp)
#input ($WudaoManualMaxLevel)=从此层开始扫荡符扫荡,(WudaoManualMaxLevel)
#input ($Speedwudao)= 操作间隔时间,(Speedwudao)
#select ($Restart) = 是否重置武塔,是|否,(Restart)
#select ($HpThreshold) = 疗伤,当气血低于百分比,100|90|80|70|60|50|40|30|20|10,(HpThreshold)
#select ($MpThreshold) = 打坐,当内力低于百分比,100|90|80|70|60|50|40|30|20|10,(MpThreshold)
#select ($Shop) = 是否买扫荡符,是|否,(Shop)
#config
($HpPer) = (HpThreshold)/100
($MpPer) = (MpThreshold)/100
@cmdDelay (Speedwudao)
[if] {b扫荡符}? != null
($Sdf) = {b扫荡符#}
@print 拥有扫荡符{b扫荡符#}个
stopstate
[if] (:hpPer) < (HpPer) || (:mpPer) < (MpPer)
[if] (Blade) == 否
@renew
[if] (Blade) == 是
[if] (:hpPer) < 0.05
@liaoshang
@tip 你的气血恢复了
stopstate
[if] (:mpPer) < 0.30
@renew
[if] (Blade) == 是
($force)=(:kf_nei)
enable force none
enable force (force)
jh fam 9 start
[if] (Restart) == 是
select {r守门人};ask1 {r守门人}
@tip 从头开始挑战|已经重置
jh fam 9 start
@tip 你目前可以直接去挑战第($level)层
go enter
[while] true
@print <hiy>目前楼层:(level)层</hiy>
[if] (level) >= (WudaoManualMaxLevel)
[break]
[if] (level) >= (WudaoWaitCDLevel)
@cd (WudaoWaitCDExp)
go up
kill {r武道塔守护者}
@until (:combating) == true
@until (:combating) == false
[if] {r武道塔守护者}? != null
[if] (rekill) < (Rekill)
($rekill) = (rekill) + 1
@print <hiy>挑战失败(rekill)次</hiy>
@renew
jh fam 9 start;go enter
[else]
[break]
@print <hiy>超出挑战失败次数,停止进行</hiy>
[else]
($level) = (level) + 1
[if] (:hpPer) < (HpPer) || (:mpPer) < (MpPer)
[if] (Blade) == 否
@renew
jh fam 9 start;go enter
[if] (Blade) == 是
[if] (:hpPer) < 0.10
@to 扬州城-武庙
@await 500
liaoshang
@tip 你的气血恢复了
stopstate
jh fam 9 start;go enter
[if] (:mpPer) < 0.30
@renew
jh fam 9 start;go enter
[if] (level) >= (Wudaoliaoshang) + 1
$to 扬州城-武庙
@await 500
@liaoshang
jh fam 9 start
go enter
($num)=0
jh fam 9 start
select {r守门人};ask2 {r守门人}
@tip 用不着快速挑战了|不用快速挑战|快速挑战需要($num)张扫荡符
[if] (level) >= (WudaoManualMaxLevel)
[if] (num) > 0
[if] (Shop) == 是
[if] (num) > (sdf)
($num) = (num)-(sdf)
shop 0 (num)
select {r守门人};ask2 {r守门人};ask3 {r守门人}
@tip 你的扫荡符不够|挑战完成|用不着快速挑战了|不用快速挑战
[else]
@print <hir>挑战失败层数低于扫荡层数,未进行扫荡。</hir>
recordGains->
stopSSAuto->
stopstate;$zdwk