
set 等待时间,7
set 脚本延时,0
set 快速行走,1
set 吃补血肉,0
set 丢非血肉,1
set 捉宠等级,15
set 捉宠名称,卡特利奴
set 捉宠魔法,3
dim @宠物
dim @a
dim @b
dim @gong,@fang,@min,@xue
let @gong,=,28
let @fang,=,17
let @min,=,26
let @xue,=,131
input @xue,抓多少血以上的
input @gong,抓多少攻以上的
input @fang,抓多少防以上的
input @min,抓多少敏以上的

let @a,=,您输入的是抓
let @a,&,@xue
let @a,&,血
let @a,&,@gong
let @a,&,攻
let @a,&,@fang
let @a,&,防
let @a,&,@min
let @a,&,敏的卡虎

let @b,=,@xue
let @b,-,1
set 捉宠血量,@b

msg @a,1

msg 记录在奇喀喀|宠物空位多于1个|道具栏留几个空位|装备毒武器||准备好后点继续
pause

ifitem 103,=,毒,+3
msg 请装备带毒的武器
end

ifpet 空位,!=,0,+3
msg 宠物空位不足
end

ifitem 空位,>,3,+3
msg 空位不足
end

log 1
delay 1000
call 说话
ifmap 3400,+3
msg 请记录奇喀喀村
end

label start

ifitem ?,=,加特利奴喜爱的食物,抓老虎
if @[寻找宠物.卡特利奴],!=,-1,寄放

ifpos 63,48,+5
log 1
delay 1000
call 说话
goto -4

walkpos 62,48 
walkpos 61,49 
walkpos 60,50 
walkpos 59,51 
walkpos 58,52 
walkpos 57,53 
walkpos 56,54 
walkpos 55,55 
walkpos 54,56 
doffitem 近藏的棍棒
walkpos 53,57 
walkpos 52,58 
walkpos 51,59 
walkpos 51,60 
walkpos 51,61 
walkpos 51,62 
walkpos 51,63 
walkpos 51,64 
walkpos 51,65 
walkpos 51,66 
walkpos 51,67 
walkpos 51,68 
walkpos 51,69 
walkpos 52,69 
walkpos 53,69 
walkpos 54,69 
walkpos 55,69 
walkpos 56,69 
walkpos 57,69 
walkpos 58,69 
walkpos 59,69 
walkpos 59,70 
walkpos 59,71 
walkpos 59,72 
walkpos 59,73 
walkpos 59,74 
chmap 59,75 
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 3412,+3
goto -10 
waitmap 3412,5,-6 '奇喀喀的民家 
walkpos 11,15 
walkpos 12,15 
label x1
walkpos 13,15 
walkpos 14,15 
w 0,0,C 
delay 500
eo
delay 800
call 说话
ifitem ?,=,加特利奴喜爱的食物,抓老虎
waitdlg ?,0,15,x1
ifdlg 呜哇,1,接任务
ifdlg 加特力奴,1,寄放

label 接任务
if @[寻找宠物.卡特利奴],!=,-1,寄放
button 确定
delay 1000
ifitem ?,=,加特利奴喜爱的食物,抓老虎 
goto x1

label 抓老虎

ifpos 63,48,+5
log 1
delay 1000
call 说话
goto -4

set 快速战斗,1
set 自动捉宠,1
set 自动逃跑,0
set 捉宠名称,卡特利奴

walkpos 62,47 
walkpos 61,46 
walkpos 61,45 
walkpos 61,44 
walkpos 61,43 
walkpos 61,42 
walkpos 61,41 
chmap 61,40 
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 200,+3
goto -10 
waitmap 200,5,-6 '奇喀喀村 
walkpos 140,1006
walkpos 140,1005
walkpos 140,1004
walkpos 140,1003
walkpos 140,1002
walkpos 140,1001
walkpos 141,1000
walkpos 142,999
walkpos 143,998
walkpos 144,997
walkpos 145,996
walkpos 146,995
walkpos 147,994
walkpos 148,993
walkpos 149,992
walkpos 150,991
walkpos 151,990
walkpos 152,989
walkpos 153,988
walkpos 154,987
walkpos 155,987
walkpos 156,987
walkpos 157,987
walkpos 158,987
walkpos 159,987
walkpos 160,987
walkpos 162,986
walkpos 163,986
walkpos 164,986
walkpos 165,986
walkpos 166,985
walkpos 167,984
walkpos 168,983
walkpos 169,982
walkpos 170,982
walkpos 171,982
walkpos 172,982
walkpos 173,982
walkpos 174,982
walkpos 175,982
walkpos 176,983
walkpos 177,984
walkpos 178,984
walkpos 179,984
walkpos 180,984
walkpos 181,984
walkpos 182,983
walkpos 183,982
walkpos 184,981
walkpos 185,980
walkpos 186,979
walkpos 187,978
walkpos 188,977
walkpos 189,976
walkpos 190,975
walkpos 191,974
walkpos 192,973
walkpos 193,972
walkpos 194,971
walkpos 195,970
walkpos 196,969
walkpos 197,968
walkpos 198,967
walkpos 199,966
walkpos 201,964
walkpos 202,963
walkpos 203,962
walkpos 204,961
walkpos 206,959
walkpos 206,959
walkpos 207,958
walkpos 208,957
walkpos 209,956
walkpos 210,955
walkpos 211,954
walkpos 212,954
walkpos 213,954
walkpos 214,954
walkpos 215,954
walkpos 216,954
walkpos 217,954
walkpos 218,954
walkpos 219,954
walkpos 220,954
walkpos 221,954
walkpos 222,954
walkpos 223,954
walkpos 224,954
walkpos 225,954
walkpos 226,954
walkpos 227,954
walkpos 228,954
walkpos 229,954
walkpos 230,954
walkpos 231,954
walkpos 232,954
walkpos 233,954
walkpos 235,954
walkpos 235,954
walkpos 236,954
walkpos 237,954
walkpos 238,954
walkpos 240,954
walkpos 240,954
walkpos 241,954
walkpos 242,954
walkpos 243,954
walkpos 244,955
walkpos 245,956
walkpos 246,957
walkpos 247,958
walkpos 248,959
walkpos 249,960
walkpos 250,961
walkpos 251,962
walkpos 252,963
walkpos 253,964
walkpos 254,965
walkpos 255,966
walkpos 256,967
walkpos 257,968
walkpos 258,969
walkpos 259,970
walkpos 261,972
walkpos 262,972
walkpos 263,972
walkpos 264,972
walkpos 265,972
walkpos 266,972
walkpos 267,972
walkpos 268,972
walkpos 269,972
walkpos 269,972
walkpos 270,972
walkpos 271,972
walkpos 272,972
walkpos 273,972
walkpos 274,972
walkpos 275,972
walkpos 276,972
walkpos 277,972
walkpos 278,972
walkpos 279,972
walkpos 280,971
walkpos 281,970
walkpos 281,969
walkpos 281,968
walkpos 282,968
walkpos 284,966
walkpos 284,966
walkpos 285,965
walkpos 286,964
walkpos 287,963
walkpos 288,962
walkpos 289,961
walkpos 290,960
walkpos 290,959
walkpos 290,957
walkpos 290,957
walkpos 289,956
walkpos 288,955
walkpos 287,954
walkpos 286,953
walkpos 286,952
walkpos 286,951
walkpos 286,950
walkpos 286,949
walkpos 286,948
walkpos 286,946
walkpos 286,946
walkpos 286,945
walkpos 286,944
walkpos 286,943
walkpos 287,943
walkpos 288,943
walkpos 289,943
walkpos 290,943
walkpos 291,943
walkpos 292,943
walkpos 293,942
walkpos 295,940
walkpos 295,940
walkpos 296,939
walkpos 296,938
walkpos 296,936
walkpos 296,936
walkpos 296,935
walkpos 296,934
walkpos 296,933
walkpos 297,932
walkpos 298,931
walkpos 298,930
walkpos 298,929
walkpos 299,928
walkpos 300,927
walkpos 301,926
walkpos 302,925
walkpos 302,924
walkpos 302,923
walkpos 303,922
call 说话
walkpos 304,921
walkpos 305,920
walkpos 307,918
walkpos 307,918
walkpos 308,917
walkpos 309,916
walkpos 310,915
call 说话
delay 1000
iffight !=,0,-1
eo
delay 800
ifpos 310,915,+2
goto -10
set 自动捉宠,1
set 自动逃跑,0
set 捉宠名称,卡特利奴
set 快速遇敌,1
delay 1000
ifitem ?,=,加特利奴喜爱的食物,-1
set 自动逃跑,1
set 快速遇敌,0
set 自动捉宠,0
call 说话
delay 1000
iffight !=,0,-1

goto start

label 说话
cls
say 剑灵循环抓卡虎脚本
waitsay 1-20,剑灵循环抓卡虎脚本,30,-1
return


label 寄放

ifpos 63,48,+5
log 1
delay 1000
call 说话
goto -4

let @宠物,=,宠物
let @宠物,&,@[寻找宠物.卡特利奴]
check @宠物,攻击,<,@gong,丢虎
check @宠物,防御,<,@fang,丢虎
check @宠物,敏捷,<,@min,丢虎

run 公共\奇喀喀-近藏.asc
delay 1000
run 公共\过桥南边.ASC
delay 1000
run 公共\近藏-加加.asc
delay 1000
wait 地图,3000,+1
walkpos 58,119 
walkpos 59,118 
walkpos 60,117 
walkpos 61,116 
walkpos 62,115 
walkpos 63,114 
walkpos 64,113 
walkpos 65,112 
doffitem 近藏的棍棒
walkpos 66,111 
walkpos 67,110 
walkpos 68,109 
walkpos 69,108 
walkpos 70,107 
walkpos 71,106 
walkpos 72,105 
walkpos 73,104 
walkpos 74,103 
walkpos 75,102 
walkpos 76,101 
doffitem 近藏的棍棒
walkpos 77,100 
walkpos 77,99 
walkpos 77,98 
walkpos 77,97 
walkpos 77,96 
walkpos 77,95 
walkpos 77,94 
walkpos 77,93 
walkpos 77,92 
chmap 77,91 
goto +7
eo
cls
say 剑灵无敌防卡地图
waitsay 1-20,剑灵无敌防卡地图,60,-1
ifmap 3003,+3
goto -10 
waitmap 3003,30 '加加村 
walkpos 15,20 
walkpos 15,19 
walkpos 15,18 
walkpos 15,17 
doffitem 近藏的棍棒
walkpos 14,17 
walkpos 13,17 
walkpos 12,17 
label 存入老虎
walkpos 12,16 
walkpos 12,15 
delay 500
eo
delay 800
w 0,0,A
say hi
wait 对话,1,宠物商店,存入老虎
button *1,,,261
wait 对话,1,宠物商店,存入老虎
button *3,,,270
wait 对话,1,请选择宠物,存入老虎
if @[寻找宠物.卡特利奴],!=,1,+4
button *1,,,512
button *确定,,,514
button *OK,,,269
if @[寻找宠物.卡特利奴],!=,2,+4
button *2,,,512
button *确定,,,514
button *OK,,,269
if @[寻找宠物.卡特利奴],!=,3,+4
button *3,,,512
button *确定,,,514
button *OK,,,269
if @[寻找宠物.卡特利奴],!=,4,+4
button *4,,,512
button *确定,,,514
button *OK,,,269
if @[寻找宠物.卡特利奴],!=,5,+4
button *5,,,512
button *确定,,,514
button *OK,,,269
delay 2000

if @[寻找宠物.卡特利奴],!=,-1,存入老虎

goto start

label 丢虎
doffpet @[寻找宠物.卡特利奴]
call 说话
delay 1000
if @[寻找宠物.卡特利奴],!=,-1,丢虎
goto start


