----һκⶼԷǵĴ-----
-------űĬΪͣŻᴫͽ----------
------ҪͰ ʹô = 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 ϵͳ.ǰͼ('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 ϵͳ.ǰͼ('0153') then ϵͳ.ת('ҩ') end
if ϵͳ.ǰͼ('0151') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0154') then ϵͳ.ת('ӻ') end
if ϵͳ.ǰͼ('0155') then ϵͳ.ת('ϵ') end
if ϵͳ.ǰͼ('0152') 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

һ㣺
.л״̬Ϊ('')
.ߴߵ(185, 214)
.ߴߵ(274, 98)
.ߴߵ(113, 207)
.ߴߵ(88, 183)
.ߴߵ(229, 50)
.ߴߵ(297, 121)
.ߴߵ(185, 255)
.ߴߵ(146, 220)
.ߴߵ(253, 116)
.ߴߵ(327, 151)
.ߴߵ(117, 238)
.ߴߵ(211, 313)
.ߴߵ(350, 171)
.߽ŵ㵽ͼ(350,170,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end

㣺
.ߴߵ(190, 211)
.ߴߵ(179, 283)
.ߴߵ(209, 315)
.ߴߵ(345, 169)
.ߴߵ(278, 103)
.ߴߵ(177, 188)
.ߴߵ(110, 211)
.ߴߵ(86, 182)
.ߴߵ(233, 54)
.ߴߵ(242, 63)
.ߴߵ(113, 232)
.߽ŵ㵽ͼ(112,231,'D503')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end

㣺
.ߴߵ(188, 212)
.ߴߵ(56, 188)
.ߴߵ(213, 45)
.ߴߵ(217, 339)
.ߴߵ(358, 191)
.ߴߵ(115, 260)
.ߴߵ(242, 73)
.ߴߵ(295, 147)
.ߴߵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D503') then ϵͳ.ת('') end

أ
.ߴߵ(89, 190)
.ߴߵ(225, 51)
.ߴߵ(346, 174)
.ߴߵ(212, 317)
.ߴߵ(112, 208)
.ߴߵ(243, 77)
.ߴߵ(166, 216)
.߽ŵ㵽ͼ(165,217,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') 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')


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

