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

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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ') end
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2079') 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 .ָľ(656,460) > 100 then ϵͳ.ñ('µţħʹ') end
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽') end
.ܵ(665, 462)
.NPCԻ('Ա')
.ѡ('ǰţħ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end

߽
.ܵ(656, 460, true)
if (ϵͳ.ָվ(655,459) > 0 or .ָľ(655,459) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽţħ') end
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end
.߽ŵ㵽ͼ(655,459,'D2070',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ţħ:
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽1') end
.ܵ(32, 20)
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end
߽1
.ܵ(32, 20)
if (ϵͳ.ָվ(32,19) > 0 or .ָľ(32,19) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end
.߽ŵ㵽ͼ(32,19,'D2071')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end

ţħһ㣺
.л״̬Ϊ('')
.ߴߵ(113, 114)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽2') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
߽2
if (ϵͳ.ָվ(112,114) > 0 or .ָľ(112,114) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
.߽ŵ㵽ͼ(112,114,'D2072',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end

ţħ㣺
.ߴߵ(236, 239)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽3') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ') end
߽3
if (ϵͳ.ָվ(236,240) > 0 or .ָľ(236,240) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ') end
.߽ŵ㵽ͼ(236,240,'D2073',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
ţħ㣺
.ߴߵ(170, 173)
.ߴߵ(54, 47)
.ߴߵ(23, 371)
.ߴߵ(345, 352)
.ߴߵ(371, 25)
.ߴߵ(146, 42)
.ߴߵ(208, 288)
.ߴߵ(67, 107)
.ߴߵ(49, 182)
.ߴߵ(207, 212)
.ߴߵ(80, 33)
.ߴߵ(94, 359)
.ߴߵ(366, 371)
.ߴߵ(370, 375)
ϵͳ.ת('жϵͼ')

ûԶس:
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 ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ߻') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ߻') end
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(13, 14)
.߽ŵ㵽ͼ(12,13,'D2078')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2079') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(159, 160)
.߽ŵ㵽ͼ(161,165,'D2076')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(95, 129)
.߽ŵ㵽ͼ(95,130,'D2075')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ߻') end

ţħĲ߻أ
.ܵ(38, 109)
.߽ŵ㵽ͼ(38,110,'D2073')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ߻') end

ţħ߻أ
.ܵ(156, 156)
.߽ŵ㵽ͼ(155,155,'D2072')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(151, 119)
.߽ŵ㵽ͼ(152,120,'D2071')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ߻') end

ţħһ߻أ
.ܵ(220, 224)
.߽ŵ㵽ͼ(220,225,'D2070')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ߻') end

ţħ߻أ
.ܵ(34, 38)
.߽ŵ㵽ͼ(35,39,'5')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ߻') end
ϵͳ.ת('жϵͼ')

űļ('-»س.txt')


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

