----һκⶼԷǵĴ-----
-------űĬΪͣŻᴫͽ----------
------ҪͰ ʹô = false Ϊ---------
------------------ʹô = true------------------
----޸ĽűǰȰ ޸Ľű -----
---޸ϺҪнűл֧----

ʹô = false
Ҫٽ = 20000  --ΪͣôԾжٽҲŴͣ޸

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ') end
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

űļ('-»س-.txt')


_ʱ = os.clock()
if .('˲Ϣƶ') then ϵͳ.ñ('µħʦ˲ƶ') end

if .ָľ(548,128) > 150 then ϵͳ.ñ('µħʹ') end
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽') end
.ܵ(538, 130)
.NPCԻ('Ա')
.ѡ('ǰħ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end

߽
.ܵ(548, 128, true)
if (ϵͳ.ָվ(549,126) > 0 or .ָľ(549,126) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽħ') end
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end
.߽ŵ㵽ͼ(549,126,'D2061',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ħһ㣺
.л״̬Ϊ('')
.ߴߵ(22, 170)
.ߴߵ(12, 34)
.ߴߵ(62, 20)
.ߴߵ(182, 23)
.ߴߵ(177, 72)
.ߴߵ(185, 135)
.ߴߵ(55, 128)
.ߴߵ(99, 165)
.ߴߵ(98, 63)
.ߴߵ(146, 44)
.ߴߵ(134, 179)
.ߴߵ(180, 176)
.ߴߵ(153, 186)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽1') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end

߽1
if (ϵͳ.ָվ(153,187) > 0 or .ָľ(153,187) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end
.߽ŵ㵽ͼ(153,187,'D2062',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end

ħ㣺
.ߴߵ(29, 21)
.ߴߵ(182, 23)
.ߴߵ(172, 179)
.ߴߵ(29, 177)
.ߴߵ(19, 119)
.ߴߵ(18, 68)
.ߴߵ(102, 19)
.ߴߵ(96, 90)
.ߴߵ(85, 176)
.ߴߵ(126, 154)
.ߴߵ(136, 187)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽2') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end

߽2
if (ϵͳ.ָվ(137,187) > 0 or .ָľ(137,187) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end
.߽ŵ㵽ͼ(137,187,'D2063',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end

ħ㣺
.ߴߵ(88, 180)
.ߴߵ(177, 185)
.ߴߵ(175, 20)
.ߴߵ(57, 163)
.ߴߵ(33, 128)
.ߴߵ(56, 111)
.ߴߵ(109, 25)
.ߴߵ(179, 38)
.ߴߵ(44, 77)
.ߴߵ(49, 85)

ħأ
.ߴߵ(110, 20)
.ߴߵ(176, 22)
.ߴߵ(181, 89)
.ߴߵ(53, 110)
.ߴߵ(53, 160)
.ߴߵ(106, 42)
.ߴߵ(185, 132)
.ߴߵ(173, 183)
.ߴߵ(89, 168)
.ߴߵ(89, 165)
.߽ŵ㵽ͼ(88,164,'D2062')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end

ħأ
.ߴߵ(168, 173)
.ߴߵ(186, 151)
.ߴߵ(176, 25)
.ߴߵ(99, 25)
.ߴߵ(157, 143)
.ߴߵ(133, 177)
.ߴߵ(86, 177)
.ߴߵ(29, 176)
.ߴߵ(70, 120)
.ߴߵ(20, 120)
.ߴߵ(62, 43)
.ߴߵ(95, 58)
.ߴߵ(27, 24)
.ߴߵ(32, 16)
.߽ŵ㵽ͼ(33,15,'D2061')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end
ϵͳ.ת('жϵͼ')

ûԶس:
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ز') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ʹûسǾ:
if .Ʒ('سǾ') < 1 then ϵͳ.ñ('سǾ') end
.ʹƷ('سǾ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

سǾ
.ʹƷ('سǾ')
ϵͳ.sleep(1000)


߻ز£
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ߻') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ߻') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ߻') end
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ߻') end

ħ߻أ
.ܵ(155, 162)
.߽ŵ㵽ͼ(156,161,'D2064')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ߻') end

ħĲ߻أ
.ܵ(13, 31)
.߽ŵ㵽ͼ(12,30,'D2063')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ߻') end

ħ߻أ
.ܵ(89, 165)
.߽ŵ㵽ͼ(88,164,'D2062')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ߻') end

ħ߻أ
.ܵ(32, 16)
.߽ŵ㵽ͼ(33,15,'D2061')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ߻') end

ħһ߻أ
.ܵ(18, 175)
.߽ŵ㵽ͼ(18,176,'5')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ߻') end
ϵͳ.ת('жϵͼ')

űļ('-»س-.txt')


if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') ϵͳ.д־('ǰͼ5תûԶس') ϵͳ.ӡ('ǰͼ5תûԶس') return true end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') ϵͳ.д־('ǰͼ3תûԶس') ϵͳ.ӡ('ǰͼ3תûԶس') return true end

