label yy
set 等待时间,5
set 走路步伐,1

call 加血

delay 1000

walkpos 60,86 
walkpos 61,86 
walkpos 61,87 
walkpos 61,88 
walkpos 61,89 
walkpos 61,90 
walkpos 61,91 
walkpos 61,92 
walkpos 62,92 
walkpos 63,92 
walkpos 64,92 
walkpos 65,92 
walkpos 66,92 
walkpos 67,92 
walkpos 68,92 
walkpos 69,92 
walkpos 70,92 
walkpos 71,92 
walkpos 72,92
delay 500
eo
delay 500
ifpos 72,92,+2
goto -7
walkpos 73,92 
waitmap 2005,10,-2
walkpos 11,16 
walkpos 12,16 
walkpos 13,16 
walkpos 14,16 
walkpos 15,16 
walkpos 15,15 
walkpos 15,14 
walkpos 15,13 
walkpos 15,12 
label 买药和气
walkpos 15,11 
walkpos 15,10 
walkpos 15,9
w 15,9,A 
say 买感谢使用「寂o星」制作的脚本!欢迎大家使用Assa辅助工具!www.shiqi.so!,4
wait 对话,0,?,10,-5
check 道具,耐久力200前,>=,1,+2
buy 耐久力200前,1
delay 500
check 道具,气力60前,>=,1,+2
buy 气力60前,1
delay 2000
check 道具,气力60前,=,0,买药和气
check 道具,耐久力200前,=,0,买药和气
end

label .err. 
goto yy


'---------------------------------------------------------
label 加血
delay 200
check 人物,战斗,!=,0,-1
log 1
delay 500
ifpos 89,51,+2
goto -5
walkpos 88,51 
walkpos 87,51 
walkpos 86,51 
walkpos 85,51 
walkpos 84,51 
walkpos 83,51 
walkpos 82,51 
walkpos 81,51 
walkpos 80,51 
walkpos 79,51 
walkpos 78,51 
walkpos 77,51 
walkpos 76,51 
walkpos 76,52 
walkpos 76,53 
walkpos 76,54 
walkpos 76,55 
walkpos 76,56 
walkpos 75,56 
walkpos 74,56 
walkpos 73,56 
walkpos 72,56 
walkpos 71,56 
walkpos 70,56 
walkpos 69,56 
walkpos 68,56 
walkpos 67,56 
walkpos 66,56 
walkpos 65,56 
walkpos 64,56 
walkpos 63,56 
walkpos 63,57 
walkpos 63,58 
walkpos 63,59 
walkpos 63,60 
walkpos 63,61 
walkpos 63,62 
walkpos 63,63 
walkpos 63,64 
walkpos 63,65 
walkpos 63,66 
walkpos 63,67 
walkpos 63,68 
walkpos 63,69 
walkpos 63,70 
walkpos 63,71 
walkpos 63,72 
walkpos 63,73 
walkpos 63,74 
walkpos 63,75 
walkpos 63,76 
walkpos 63,77 
walkpos 63,78 
walkpos 63,79 
walkpos 63,80 
walkpos 63,81 
walkpos 63,82 
walkpos 63,83 
walkpos 62,83 
walkpos 61,83 
walkpos 60,83 
walkpos 59,83 
walkpos 59,84 
walkpos 59,85 
walkpos 59,86 
delay 500
eo
delay 500
ifpos 59,86,+2
goto -7
w 59,86,E 
cls
say hi
Waitsay 1-10,已经全部回复,-4
return
'---------------------------------------------------------