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

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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ') end
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ') end
if ϵͳ.ǰͼ('D2052') 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 .ָľ(526,611) > 100 then ϵͳ.ñ('µʬħʹ') end
.ܵ(515, 616)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽') end
.NPCԻ('Ա')
.ѡ('ǰʬħ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ') end

߽
if (ϵͳ.ָվ(527,610) > 0 or .ָľ(527,610) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽʬħ') end
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ') end
.߽ŵ㵽ͼ(527,610,'D2051',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ʬħһ㣺
.л״̬Ϊ('')
.ߴߵ(46, 26)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽1') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ') end
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ') end

߽1
if (ϵͳ.ָվ(50,24) > 0 or .ָľ(50,24) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ') end
.߽ŵ㵽ͼ(50,24,'D2053',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ') end

ʬħ㣺
.ߴߵ(37, 229)
.߽ŵ㵽ͼ(36,226,'D2052',true)
ϵͳ.sleep(100)
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ') end

ʬħ㣺
.ߴߵ(88, 69)
.ߴߵ(59, 86)
.ߴߵ(21, 78)
.ߴߵ(11, 55)
.ߴߵ(20, 50)
.ߴߵ(28, 61)
.ߴߵ(39, 29)
.ߴߵ(61, 25)
.ߴߵ(84, 42)
.ߴߵ(77, 64)
.ߴߵ(88, 69)
.ߴߵ(59, 86)
.ߴߵ(21, 78)
.ߴߵ(11, 55)
.ߴߵ(20, 50)
.ߴߵ(28, 61)
.ߴߵ(39, 29)
.ߴߵ(61, 25)
.ߴߵ(84, 42)
.ߴߵ(77, 64)
.ߴߵ(91, 75)
ϵͳ.ת('жϵͼ')

ûԶس:
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 ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ߻') end
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ߻') end

ʬħ߻أ
.ܵ(91, 75)
.߽ŵ㵽ͼ(92,76,'D2053')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2052') then ϵͳ.ת('ʬħ߻') end

ʬħ߻أ
.ܵ(193, 278)
.߽ŵ㵽ͼ(193,280,'D2051')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2053') then ϵͳ.ת('ʬħ߻') end

ʬħһ߻أ
.ܵ(108, 181)
.߽ŵ㵽ͼ(108,183,'5')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2051') then ϵͳ.ת('ʬħһ߻') end
ϵͳ.ת('жϵͼ')

űļ('-»س.txt')


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

