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

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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if ϵͳ.ǰͼ('') 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
if ϵͳ.ǰͼ('0149') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('0158') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0161') then ϵͳ.ת('1') end
ϵͳ.ת('ûԶس')

űļ('-ʡس-ҩ.txt')


if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end
if .ָľ(139,326) < 6 then ϵͳ.ת('غϱԻ') end
.ܵ(143, 329)
غϱԻ:
.NPCԻ('ϱ')
.ѡ('ȥ','@move3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ϵͳ.sleep(1000)

_ʱ = os.clock()
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .('˲Ϣƶ') then ϵͳ.ñ('ʡ귨ʦ˲ƶ') end
if .ָľ(861,175) > 100 then ϵͳ.ñ('ʡʹ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽') end
.ܵ(852, 178)
.NPCԻ('Ա')
.ѡ('ǰ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end
߽
.ܵ(861, 175, true)
if (ϵͳ.ָվ(862,174) > 0 or .ָľ(862,174) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end
.߽ŵ㵽ͼ(862,174,'0157',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end

³ȣ
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽1') end
.ܵ(19, 16)
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end

߽1
.ܵ(19, 16)
if (ϵͳ.ָվ(20,15) > 0 or .ָľ(20,15) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end
.߽ŵ㵽ͼ(20,15,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end

һ㣺
.л״̬Ϊ('')
.ߴߵ(350, 171)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽2') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end
߽2
.ߴߵ(350, 171)
if (ϵͳ.ָվ(350,170) > 0 or .ָľ(350,170) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end
.߽ŵ㵽ͼ(350,170,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end

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

㣺
.ߴߵ(295, 147)
if ʹô == false or .Ʒ('') < Ҫٽ then ϵͳ.ת('߽4') end
.NPCԻ('Ա')
.ѡ('ǰһ','@move')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end

߽4
.ߴߵ(295, 147)
if (ϵͳ.ָվ(295,146) > 0 or .ָľ(295,146) > 10000) and .Ʒ('') > 10000 then ϵͳ.ñ('ͽ') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end
.߽ŵ㵽ͼ(295,146,'D504')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end

Ĳ㣺
.ߴߵ(52, 174)
.߽ŵ㵽ͼ(51,173,'D505')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ') end

㣺
.ߴߵ(122, 11)
.߽ŵ㵽ͼ(123,10,'')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end

:
.ӵ(';')
.ӵ(';')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(59, 70)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(92, 38)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(40, 76)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(66, 38)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(83, 70)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(7, 10)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(33, 10)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(8, 71)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(84, 11)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(7, 38)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(59, 10)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
.ߴߵ(40, 38)
ϵͳ.ת('жϵͼ')

߲
.л״̬Ϊ('')
.ܵ(7, 10, true)
.߽ŵ㵽ͼ(7,9,'')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ûԶس:
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 ϵͳ.ǰͼ('') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³߻') end
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ߻') end
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('߻') end
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('߻') end
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ߻') end
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('߻') end

߻أ
.ܵ(96, 101)
.߽ŵ㵽ͼ(95,102,'D504')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D505') then ϵͳ.ת('߻') end

Ĳ߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D503')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D504') then ϵͳ.ת('Ĳ߻') end

߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('߻') end

߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('߻') end

һ߻أ
.ܵ(166, 216)
.߽ŵ㵽ͼ(165,217,'0157')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ߻') end

³߻أ
.ܵ(9, 26)
.߽ŵ㵽ͼ(9,27,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³߻') end
ϵͳ.ת('жϵͼ')

űļ('-ʡس-ҩ.txt')


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

