--һκⶼԷǵĴ-----
-------ĬϹĹһ¶ߺ涼ʹô----------
-------ҪͰ ʹô = 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)
.߽ŵ㵽ͼ(549,126,'D2061',true)
ϵͳ.sleep(1000)
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
.߽ŵ㵽ͼ(153,187,'D2062')
ϵͳ.sleep(1000)
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
.߽ŵ㵽ͼ(137,187,'D2063')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end

ħ㣺
.ߴߵ(88, 180)
.ߴߵ(177, 185)
.ߴߵ(175, 20)
.ߴߵ(57, 163)
.ߴߵ(33, 128)
.ߴߵ(56, 111)
.ߴߵ(109, 25)
.ߴߵ(179, 38)
.ߴߵ(44, 77)
.ߴߵ(49, 85)
.߽ŵ㵽ͼ(50,85,'D2064')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end

ħĲ㣺
.ߴߵ(23, 34)
.ߴߵ(168, 27)
.ߴߵ(133, 124)
.ߴߵ(52, 85)
.ߴߵ(172, 180)
.ߴߵ(66, 172)
.ߴߵ(51, 126)
.ߴߵ(13, 179)
.ߴߵ(10, 183)
.߽ŵ㵽ͼ(9,183,'D2067')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ') end

ħ㣺
.ߴߵ(107, 191)
.ߴߵ(29, 267)
.ߴߵ(122, 134)
.ߴߵ(173, 84)
.ߴߵ(151, 19)
.ߴߵ(282, 40)
.ߴߵ(260, 131)
.ߴߵ(204, 143)
.ߴߵ(270, 165)
.ߴߵ(231, 253)
.ߴߵ(179, 245)
.ߴߵ(179, 281)
.ߴߵ(35, 219)
.ߴߵ(155, 162)
.߽ŵ㵽ͼ(156,161,'D2064')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ') end

ħĲأ
.ߴߵ(14, 173)
.ߴߵ(26, 110)
.ߴߵ(81, 148)
.ߴߵ(16, 179)
.ߴߵ(172, 181)
.ߴߵ(115, 115)
.ߴߵ(169, 27)
.ߴߵ(99, 69)
.ߴߵ(57, 65)
.ߴߵ(17, 36)
.ߴߵ(13, 31)
.߽ŵ㵽ͼ(12,30,'D2063')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ') end

ħأ
.ߴߵ(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

