set 脚本延时,0
set 吃补血肉,1
set 丢非血肉,1
set 丢弃中为,1-15,愿藏的斧头|近藏的棍棒|点不燃的皮
log 1
delay 1000
cls
say 检测是否记录在萨村
waitsay 1-20,检测是否记录在萨村,30,-1
ifmap 1000,+3
msg 请记录萨村
end

dim @绿虎
dim @黄虎
let @绿虎,=,4
let @黄虎,=,4

ifitem 空位,=,15,+3
msg 请清空道具栏
end


label start

ifitem ?,=,莉儿的爱心糖果,寄放
ifitem ?,=,格鲁西斯的皮毛,+2
goto +4
ifitem ?,=,贝鲁卡的皮毛,+2
goto +2
ifitem ?,=,贝鲁伊卡的皮毛,换糖果

ifpos 92,99,+7
log 1
cls
say 剑灵循环莉儿爱心糖果
waitsay 1-20,剑灵循环莉儿爱心糖果,30,-1
delay 1000
goto -6

set 锁定攻击,0
set 指定攻击,0
set 自动逃跑,1
set 快速战斗,1
set 指定逃跑,0


run 公共\萨村-愿藏.asc
delay 1000
run 公共\过桥南边.ASC
delay 1000
run 公共\愿藏-霍海底.asc
delay 1000
wait 地图,31401,+1
run 公共\霍海底-关卡.asc
delay 1000
wait 地图,40,+1
walkpos 2,9 
walkpos 3,9 
walkpos 4,9 
walkpos 5,8 
walkpos 6,7 
walkpos 6,6 
walkpos 6,5 
walkpos 7,5 
walkpos 8,5 
walkpos 8,4 
walkpos 8,3 
walkpos 9,3 
walkpos 10,3 
walkpos 11,3 
walkpos 12,3 
walkpos 13,3 
walkpos 13,2 
w 0,0,A 
eo
cls
say 剑灵叫你让我过去
waitsay 1-20,剑灵叫你让我过去,30,-1
waitdlg ?,0,15,-10
button 确定
waitmap 31301,30 '奇努伊关卡 
delay 1000

run 公共\齐努伊海底-福村.asc
delay 1000
wait 地图,5000,+1
walkpos 46,19 
walkpos 46,20 
walkpos 46,21 
walkpos 46,22 
walkpos 46,23 
walkpos 46,24 
walkpos 47,24 
walkpos 48,24 
walkpos 49,24 
walkpos 50,24 
walkpos 51,24 
walkpos 52,24 
walkpos 53,24 
walkpos 54,24 
walkpos 55,24 
walkpos 55,23 
walkpos 56,23 
chmap 57,23
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 300,+3
goto -10  
waitmap 300,5,-6 '福尔德村 
cls
say 准备打tiger
waitsay 1-20,准备打tiger,30,-1

set 锁定攻击,格鲁西斯
set 自动逃跑,0
set 快速遇敌,1

delay 1000
ifitem 格鲁西斯的皮毛,<,5,-1

set 快速遇敌,0
set 自动逃跑,1
set 锁定攻击,0

cls
say 打满红虎毛，现在出发南岛
waitsay 1-20,打满红虎毛，现在出发南岛,30,-1
delay 1000
iffight !=,0,-1

call 丢红虎皮毛

walkpos 265,417 
walkpos 264,417 
chmap 263,417
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 5000,+3
goto -10  
waitmap 5000,5,-6 '吉鲁岛 
delay 1000
walkpos 55,23 
walkpos 54,24 
walkpos 53,24 
walkpos 52,24 
walkpos 51,24 
walkpos 50,24 
walkpos 49,24 
walkpos 48,24 
walkpos 47,24 
walkpos 46,24 
walkpos 46,23 
walkpos 46,22 
walkpos 46,21 
walkpos 46,20 
walkpos 46,19 
chmap 46,18
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 31301,+3
goto -10 
waitmap 31301,5,-6 '福尔德村 
delay 1000

run 公共\福村-关卡.asc
delay 1000
wait 地图,40,+1
walkpos 12,2 
walkpos 12,3 
walkpos 13,4 
walkpos 14,5 
walkpos 15,5 
walkpos 15,6 
walkpos 15,7 
walkpos 15,8 
walkpos 15,9 
walkpos 15,10 
walkpos 15,11 
walkpos 14,12 
walkpos 13,13 
walkpos 12,14 
walkpos 12,15 
walkpos 12,16 
walkpos 12,17 
w 0,0,E 
eo
cls
say 剑灵叫你让我过去
waitsay 1-20,剑灵叫你让我过去,30,-1
waitdlg ?,0,15,-10
button 确定 
waitmap 31501,30 '奇努伊关卡 
delay 1000

run 公共\齐努伊海底-南岛.asc
delay 1000
wait 地图,200,+1
run 公共\齐努伊海底南岛口-近藏.asc
delay 1000
run 公共\过桥北边.ASC
delay 1000
run 公共\近藏-打老虎.asc
delay 1000
set 锁定攻击,贝鲁卡|贝鲁伊卡

label 检测皮毛
set 快速遇敌,0
set 自动逃跑,1
cls
say 正在检测皮毛
waitsay 1-20,正在检测皮毛,30,-1
delay 2000
iffight !=,0,-1
ifitem 贝鲁卡的皮毛,>,@绿虎,丢绿虎皮毛
ifitem 贝鲁伊卡的皮毛,>,@黄虎,丢黄虎皮毛
ifitem 贝鲁卡的皮毛,=,5,+2
goto 打绿黄虎
ifitem 贝鲁伊卡的皮毛,=,5,打满皮毛

label 打绿黄虎

set 自动逃跑,0
set 快速遇敌,1
delay 1000
ifitem 贝鲁卡的皮毛,>,@绿虎,+3
ifitem 贝鲁伊卡的皮毛,>,@黄虎,+2
goto -3

ifitem 贝鲁卡的皮毛,>=,5,+4
set 锁定攻击,贝鲁卡
set 指定逃跑,贝鲁伊卡
goto 检测皮毛
set 锁定攻击,贝鲁伊卡
set 指定逃跑,贝鲁卡
goto 检测皮毛


label 丢红虎皮毛
ifitem 格鲁西斯的皮毛,=,5,+7
doffitem ?格鲁西斯的皮毛
delay 1000
cls
say 丢了张红虎皮
waitsay 1-20,丢了张红虎皮,30,-1
goto -6
return

label 丢绿虎皮毛
let @绿虎,=,5
ifitem 贝鲁卡的皮毛,=,5,检测皮毛
doffitem ?贝鲁卡的皮毛
delay 1000
cls
say 丢了张绿虎皮
waitsay 1-20,丢了张绿虎皮,30,-1
goto -6


label 丢黄虎皮毛
let @黄虎,=,5
ifitem 贝鲁伊卡的皮毛,=,5,检测皮毛
doffitem ?贝鲁伊卡的皮毛
delay 1000
cls
say 丢了张黄虎皮
waitsay 1-20,丢了张黄虎皮,30,-1
goto -6

label 打满皮毛
let @绿虎,=,4
let @黄虎,=,4
set 快速遇敌,0
set 自动逃跑,1
cls
say 打满了，最后检测
waitsay 1-20,打满了，最后检测,30,-1
delay 1000
iffight !=,0,-1
ifitem 贝鲁卡的皮毛,!=,5,检测皮毛
ifitem 贝鲁伊卡的皮毛,!=,5,检测皮毛
goto start


label 寄放
run 公共\寄放.asc
delay 1000
goto start

label 换糖果
run 公共\换糖果.asc
delay 1000
goto start


label .log.
delay 1000
waitdlg ?,0,10,-1
button OK
label .err.
set 自动逃跑,1
set 快速遇敌,0
cls
say 出错or掉线，脚本重新开始
waitsay 1-20,出错or掉线，脚本重新开始,30,-1
delay 1000
iffight !=,0,-1
goto start


