----һκⶼԷǵĴ-----
-------űĬΪͣŻᴫͽ----------
------ҪͰ ʹô = 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 ϵͳ.ǰͼ('') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D5071') 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
ϵͳ.ת('ûԶس')


.ܵ(861, 175, true)
.߽ŵ㵽ͼ(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

.ʹƷ(';')
ϵͳ.sleep(1000)

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

:
.ӵ(';')
.ӵ(';')
ϵͳ.sleep(1000)
űļ('-.txt')
ϵͳ.ת('жϵͼ')

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

ûԶس:
if .Ʒ('ո') < 1 then ϵͳ.ת('Զس') end
if .ƷҪ('ҩ(С)') then ϵͳ.ת('ҩ·') end
if .ƷҪ('ҩ()') then ϵͳ.ת('ҩ·') end
if .ƷҪ('ǿЧҩ') then ϵͳ.ת('ҩ·') end
if .ƷҪ('ħҩ(С)') then ϵͳ.ת('ҩ·') end
if .ƷҪ('ħҩ()') then ϵͳ.ת('ҩ·') end
if .ƷҪ('ǿЧħҩ') then ϵͳ.ת('ҩ·') end
if .ƷҪ('Ѿ') then ϵͳ.ת('ҩ·') end
Զس:
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ز') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

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

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


߻ز£
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')

űļ('-ҩ·.txt')


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

