'---------------------------------------------------------
'起点:“任一地点”座标:任一地点
'目标:,【52】蛇之铠之任务
'请佩戴太阳神首饰或月亮首饰
'---------------------------------------------------------
dim @yes
button 任务日志
delay 1000
check 任务,?,LIKE,*蛇之铠之任务*已完成},已解过任务

check 道具,空位,>,5,+3
msg 【寂o星】提示请空出5格道具栏!,1
pause

check 任务,?,LIKE,*蛇之铠之任务*进行中},+2
goto 开始解任务
input @yes,输入1为自动寻找最近座标，不输入就从头执行脚本！,要寻找最近座标吗？
if @yes,=,1,+2
goto +2
nearpos

'---------------------------------------------------------
label 开始解任务
label 回乌鲁力村找莫西克
' --------------------------------------------------------
run \99.【公用脚本】\【去乌鲁力】.asc
' --------------------------------------------------------
waitmap 3300,5,-2
walkpos 68,51
walkpos 68,52
walkpos 68,53
walkpos 68,54
walkpos 68,55
label 莫西克
walkpos 68,56
delay 500
EO
delay 800
check 座标,!=,68,56,-4
W 0,0,南
check 道具,风蛇之鳞,!=,0,+2
check 道具,唤蛇之石,!=,0,去龙洞
delay 500
say 寂星制作最新版蛇之铠任务脚本-www.shiqi.so-bbs.shiqi.co-www.shiqi.co!,1
delay 1000
wait 对话,0,?,莫西克
check 对话,1,=,剩下的鳞片我想把它做成手炼呢！,已解过任务
check 对话,1,=,哇！你找到了四种蛇鳞啊！我找了很久呢！,有四种蛇鳞
check 对话,1,=,收集４种蛇鳞片给我,去龙洞
check 对话,1,=,石头呢？你真是的！再给你一颗吧！,重拿唤蛇之石
check 对话,1,=,记得那颗唤蛇之石不要丢掉喔！,去龙洞
wait 对话,1,不是我在吹牛！我从小时候就开始学习抓蛇,莫西克
button 下一页
wait 对话,1,其实我只是喜欢收集蛇身上的鳞片，你愿意帮,莫西克
button 确定
wait 对话,1,对了，忘了告诉你，刚刚给你的那一颗唤蛇之,莫西克
button OK
delay 3000
check 道具,唤蛇之石,=,0,莫西克
goto 去龙洞

'---------------------------------------------------------
label 重拿唤蛇之石
button 确定
wait 对话,1,唤蛇之石要好好保存啦！,莫西克
button OK
delay 3000
check 道具,唤蛇之石,=,0,莫西克
goto 去龙洞

'---------------------------------------------------------
label 去龙洞
check 人物,地图,=,3300,从乌鲁力村出发
' --------------------------------------------------------
run \99.【公用脚本】\【去乌鲁力】.asc
' --------------------------------------------------------
waitmap 3300,5,-2
label 从乌鲁力村出发
walkpos 68,52
walkpos 67,52
walkpos 66,52
walkpos 65,52
walkpos 64,52
walkpos 63,52
walkpos 62,52
walkpos 61,52
walkpos 60,52
walkpos 59,52
walkpos 58,52
walkpos 57,52
walkpos 56,52
walkpos 55,52
walkpos 54,52
walkpos 53,52
walkpos 52,52
walkpos 51,52
walkpos 50,52
walkpos 49,53
walkpos 48,54
walkpos 47,55
walkpos 47,56
walkpos 47,57
walkpos 46,58
walkpos 46,59
walkpos 46,60
walkpos 46,61
walkpos 46,62
walkpos 46,63
walkpos 46,64
walkpos 46,65
walkpos 46,66
walkpos 45,66
walkpos 44,66 
delay 500
EO
delay 800
check 座标,!=,44,66,-4
walkpos 43,66
waitmap 200,5,-6
useitem 太阳神的首饰
walkpos 516,766 
walkpos 515,766 
walkpos 514,766 
walkpos 513,766 
walkpos 512,766 
walkpos 511,766 
walkpos 510,766 
walkpos 509,766 
walkpos 508,766 
walkpos 507,766 
walkpos 506,766 
walkpos 505,766 
walkpos 504,766 
walkpos 503,766 
walkpos 502,766 
walkpos 501,766 
walkpos 500,766 
walkpos 499,766 
walkpos 498,766 
walkpos 497,766 
walkpos 496,766 
walkpos 495,766 
walkpos 494,766 
walkpos 493,766 
walkpos 492,766 
walkpos 491,766 
walkpos 490,766 
walkpos 489,767 
walkpos 488,767 
walkpos 487,767 
walkpos 486,767 
walkpos 485,767 
walkpos 484,767 
walkpos 483,768 
walkpos 482,769 
walkpos 481,769 
walkpos 480,769 
walkpos 479,769 
walkpos 478,769 
walkpos 477,770 
walkpos 476,770 
walkpos 475,770 
walkpos 474,770 
walkpos 473,770 
walkpos 472,769 
walkpos 471,769 
walkpos 470,769 
walkpos 469,769 
walkpos 468,768 
walkpos 467,768 
walkpos 466,768 
walkpos 465,768 
walkpos 464,768 
walkpos 463,767 
walkpos 462,767 
walkpos 461,767 
walkpos 460,766 
walkpos 459,766 
walkpos 458,766 
walkpos 457,766 
walkpos 456,765 
walkpos 455,764 
walkpos 454,764 
walkpos 453,764 
walkpos 452,763 
walkpos 451,762 
walkpos 450,762 
walkpos 449,762 
walkpos 448,763 
walkpos 447,763 
walkpos 446,763 
walkpos 445,763 
walkpos 444,763 
walkpos 443,763 
walkpos 442,763 
walkpos 441,763 
walkpos 440,763 
walkpos 439,763 
walkpos 438,762 
walkpos 437,761 
walkpos 436,760 
walkpos 435,760 
walkpos 434,760 
walkpos 433,760 
walkpos 432,759 
walkpos 431,758 
walkpos 430,757 
walkpos 429,756 
walkpos 429,755 
walkpos 429,754 
walkpos 429,753 
walkpos 430,752 
walkpos 430,751 
walkpos 430,750 
walkpos 430,749 
walkpos 430,748 
walkpos 430,747 
walkpos 431,746 
walkpos 432,745 
walkpos 432,744 
walkpos 433,744 
walkpos 433,743 
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,433,743,-6
walkpos 433,742
waitmap 20801,5,-8
useitem 月亮首饰
walkpos 33,68
walkpos 33,67
walkpos 33,66
walkpos 33,65
walkpos 33,64
walkpos 33,63
walkpos 33,62
walkpos 33,61
walkpos 33,60
walkpos 34,60
walkpos 35,60
walkpos 36,60
walkpos 37,60
walkpos 38,60
walkpos 39,60
walkpos 40,60
walkpos 41,60
walkpos 42,60
walkpos 43,60
walkpos 44,60
walkpos 45,60
walkpos 46,60
walkpos 47,60
walkpos 48,60
walkpos 49,59
walkpos 50,58
walkpos 51,57
walkpos 51,56
walkpos 51,55
walkpos 51,54
walkpos 51,53
walkpos 51,52
walkpos 51,51
walkpos 51,50
walkpos 51,49
walkpos 51,48
walkpos 51,47
walkpos 50,47
walkpos 49,47
walkpos 48,46
walkpos 47,45
walkpos 47,44
walkpos 47,43
walkpos 47,42
walkpos 47,41
walkpos 47,40
walkpos 47,39
walkpos 47,38
walkpos 47,37
walkpos 47,36
walkpos 47,35
walkpos 47,34
walkpos 47,33
walkpos 47,32
walkpos 47,31
walkpos 47,30
walkpos 47,29
walkpos 47,28
walkpos 47,27
walkpos 46,26
walkpos 45,26
walkpos 44,26
walkpos 43,26
walkpos 42,26
walkpos 41,26
walkpos 40,27
walkpos 39,28
walkpos 38,29
walkpos 37,30
walkpos 36,31
walkpos 35,32
walkpos 34,32
walkpos 33,32
walkpos 32,33
walkpos 31,34
walkpos 31,35
walkpos 31,36
walkpos 30,37
walkpos 29,38
walkpos 28,38
walkpos 27,38
walkpos 26,38
walkpos 25,38
walkpos 24,38
walkpos 23,38
walkpos 23,37
walkpos 23,36
walkpos 22,36
walkpos 21,36
walkpos 20,36
walkpos 20,35
walkpos 20,34
walkpos 20,33
walkpos 19,32
walkpos 18,31
walkpos 17,30
walkpos 16,29
walkpos 15,28
walkpos 15,27
walkpos 15,26
walkpos 15,25
walkpos 15,24
walkpos 15,23
walkpos 15,22
walkpos 15,21
walkpos 15,20
walkpos 15,19
walkpos 15,18
walkpos 15,17
walkpos 15,16
walkpos 15,15
walkpos 15,14
walkpos 15,13
walkpos 15,12
walkpos 14,12
walkpos 13,12
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,13,12,-6

check 道具,地蛇之鳞,>,0,有地蛇之鳞
W 0,0,西
run \99.【公用脚本】\【寂星┊卸太阳月亮┆】.asc
set 锁定攻击,卡恩格登
set 自动逃跑,0
set 快速战斗,1
set 快速遇敌,1
delay 1000
check 道具,地蛇之鳞,=,0,-1
set 自动逃跑,1
set 快速遇敌,0
useitem 月亮首饰
useitem 吃肉丢肉
check 道具,地蛇之鳞,=,1,有地蛇之鳞
doffitem ?地蛇之鳞
delay 2000
goto -3

label 有地蛇之鳞
walkpos 13,12
walkpos 12,12
walkpos 12,11
walkpos 12,10
walkpos 12,9
walkpos 12,8
walkpos 12,7
walkpos 12,6
walkpos 12,5
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,12,5,-6
walkpos 12,4
waitmap 20802,5,-8
walkpos 10,4
walkpos 10,5
walkpos 10,6
walkpos 10,7
walkpos 11,8
walkpos 12,9
walkpos 13,10
walkpos 14,11
walkpos 15,11
walkpos 16,11
walkpos 17,11
walkpos 16,11
walkpos 17,11
walkpos 18,11
walkpos 19,11
walkpos 20,11
walkpos 21,11
walkpos 22,11
walkpos 23,11
walkpos 24,11
walkpos 25,11
walkpos 26,11
walkpos 27,11
walkpos 28,11
walkpos 29,11
walkpos 30,11
walkpos 31,11
walkpos 32,11
walkpos 33,11
walkpos 33,12
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,33,12,-6

check 道具,水蛇之鳞,>,0,有水蛇之鳞
W 0,0,西
run \99.【公用脚本】\【寂星┊卸太阳月亮┆】.asc
set 锁定攻击,卡恩米兹
set 自动逃跑,0
set 快速战斗,1
set 快速遇敌,1
delay 1000
check 道具,水蛇之鳞,=,0,-1
set 自动逃跑,1
set 快速遇敌,0
useitem 月亮首饰
useitem 吃肉丢肉
check 道具,水蛇之鳞,=,1,有水蛇之鳞
doffitem ?水蛇之鳞
delay 2000
goto -3

label 有水蛇之鳞
walkpos 33,12
walkpos 33,13
walkpos 33,14
walkpos 33,15
walkpos 33,16
walkpos 33,17
walkpos 33,18
walkpos 33,19
walkpos 32,20
walkpos 31,21
walkpos 30,22
walkpos 29,22
walkpos 29,23
walkpos 29,24
walkpos 29,25
walkpos 29,26
walkpos 29,27
walkpos 29,28
walkpos 29,29
walkpos 30,29
walkpos 31,29
walkpos 32,30
walkpos 33,31
walkpos 33,32
walkpos 34,32
walkpos 35,32
walkpos 35,33
walkpos 35,34
walkpos 35,35
walkpos 35,36
walkpos 35,37
walkpos 35,38
walkpos 34,39
walkpos 33,40
walkpos 32,41
walkpos 32,42
walkpos 32,43
walkpos 32,44
walkpos 31,44
walkpos 30,44
walkpos 29,44
walkpos 28,44
walkpos 27,44
walkpos 26,44
walkpos 25,44
walkpos 24,44
walkpos 23,45
walkpos 22,46
walkpos 21,46
walkpos 20,46
walkpos 19,46
walkpos 18,46
walkpos 17,46
walkpos 16,46
walkpos 15,46
walkpos 14,46
walkpos 13,46
walkpos 12,46
walkpos 11,46
walkpos 10,46
walkpos 9,46
walkpos 8,46
walkpos 7,46
walkpos 6,45
walkpos 5,44
walkpos 5,43
walkpos 5,42
walkpos 5,41
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,5,41,-6
walkpos 5,40
waitmap 20803,5,-8
walkpos 20,7
walkpos 19,7
walkpos 18,7
walkpos 17,7
walkpos 16,7
walkpos 15,7
walkpos 14,7
walkpos 13,7
walkpos 12,7
walkpos 11,7
walkpos 10,7
walkpos 9,7
walkpos 8,7
walkpos 8,8
walkpos 8,9
walkpos 8,10
walkpos 8,11
walkpos 8,12
walkpos 8,13
walkpos 8,14
walkpos 8,15
walkpos 8,16
walkpos 8,17
walkpos 9,18
walkpos 10,19
walkpos 11,20
walkpos 12,21
walkpos 13,22
walkpos 13,23
walkpos 13,24
walkpos 13,25
walkpos 13,26
walkpos 13,27
walkpos 13,28
walkpos 13,29
walkpos 13,30
walkpos 13,31
walkpos 13,32
walkpos 13,33
walkpos 13,34
walkpos 13,35
walkpos 13,36
walkpos 13,37
walkpos 13,38
walkpos 13,39
walkpos 13,40
walkpos 13,41
walkpos 14,42
walkpos 15,42
walkpos 16,42
walkpos 17,42
walkpos 18,42
walkpos 19,42
walkpos 20,42
walkpos 21,42
walkpos 22,42
walkpos 23,42
walkpos 24,42
walkpos 25,42
walkpos 26,42
walkpos 27,42
walkpos 28,42
walkpos 29,42
walkpos 30,42
walkpos 31,42
walkpos 32,42
walkpos 32,43
walkpos 33,43
walkpos 34,43
walkpos 35,43
walkpos 36,43
walkpos 37,43
walkpos 38,43
walkpos 39,43
walkpos 40,42
walkpos 41,41
walkpos 41,40
walkpos 41,39
walkpos 42,38
walkpos 42,37
walkpos 43,36
walkpos 44,35
walkpos 44,34
walkpos 44,33
walkpos 44,32
walkpos 44,31
walkpos 44,30
walkpos 44,29
walkpos 44,28
walkpos 44,27
walkpos 43,26
walkpos 42,25
walkpos 42,24
walkpos 42,23
walkpos 42,22
walkpos 42,21
walkpos 42,20
walkpos 42,19
walkpos 42,18
walkpos 42,17
walkpos 42,16
walkpos 42,15
walkpos 42,14
walkpos 42,13
walkpos 42,12
walkpos 42,11
walkpos 42,10
walkpos 42,9
walkpos 42,8
walkpos 42,7
walkpos 41,7
walkpos 40,7
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,40,7,-6

check 道具,火蛇之鳞,>,0,有火蛇之鳞
W 0,0,西
run \99.【公用脚本】\【寂星┊卸太阳月亮┆】.asc
set 锁定攻击,卡恩法尔
set 自动逃跑,0
set 快速战斗,1
set 快速遇敌,1
delay 1000
check 道具,火蛇之鳞,=,0,-1
set 自动逃跑,1
set 快速遇敌,0
useitem 月亮首饰
useitem 吃肉丢肉
check 道具,火蛇之鳞,=,1,有火蛇之鳞
doffitem ?火蛇之鳞
delay 2000
goto -3

label 有火蛇之鳞
walkpos 40,7
walkpos 39,7
walkpos 38,7
walkpos 37,7
walkpos 37,6
walkpos 37,5
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,37,5,-6
walkpos 37,4
waitmap 20804,5,-8
walkpos 33,5
walkpos 33,6
walkpos 33,7
walkpos 33,8
walkpos 33,9
walkpos 34,9
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,34,9,-6

check 道具,风蛇之鳞,>,0,有风蛇之鳞
W 0,0,西
run \99.【公用脚本】\【寂星┊卸太阳月亮┆】.asc
set 锁定攻击,卡恩修比
set 自动逃跑,0
set 快速战斗,1
set 快速遇敌,1
delay 1000
check 道具,风蛇之鳞,=,0,-1
set 自动逃跑,1
set 快速遇敌,0
useitem 月亮首饰
useitem 吃肉丢肉
check 道具,风蛇之鳞,=,1,有风蛇之鳞
doffitem ?风蛇之鳞
delay 2000
goto -3

label 有风蛇之鳞
goto 回乌鲁力村找莫西克

'---------------------------------------------------------
label 有四种蛇鳞
wait 对话,1,哇！你找到了四种蛇鳞啊！我找了很久呢！,莫西克
button 确定
wait 对话,1,做好啰！拿去吧！,莫西克
button OK
delay 3000
check 道具,蛇之铠,=,0,莫西克
'---------------------------------------------------------
label 已解过任务
msg 【寂o星】提示:解完【52】蛇之铠之任务,1
end

label .log.
label .err.
goto 开始解任务
