--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
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 ϵͳ.ǰͼ('D5061') then ϵͳ.ת('D5061') end
if ϵͳ.ǰͼ('D5066') then ϵͳ.ת('D5066') end
if ϵͳ.ǰͼ('D5069') then ϵͳ.ת('D5069') end
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end
if ϵͳ.ǰͼ('D5072') then ϵͳ.ת('߲һ') end
if ϵͳ.ǰͼ('D5073') then ϵͳ.ת('߲') end
if ϵͳ.ǰͼ('D5074') 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')


if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end
.ܵ(143, 329)
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ϵͳ.sleep(1000)

_ʱ = os.clock()
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .('˲Ϣƶ') then ϵͳ.ñ('ʡ귨ʦ˲ƶ') end
if .ָľ(861,175) > 100 then ϵͳ.ñ('ʡʹ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(861, 175, true)
.߽ŵ㵽ͼ(862,174,'0157',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end

³ȣ
.ܵ(19, 16)
.߽ŵ㵽ͼ(20,15,'D501')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0157') then ϵͳ.ת('³') end

һ㣺
.л״̬Ϊ('')
.ߴߵ(350, 171)
.߽ŵ㵽ͼ(350,170,'D502')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D501') then ϵͳ.ת('һ') end

㣺
.ߴߵ(113, 232)
.߽ŵ㵽ͼ(112,231,'D503')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D502') then ϵͳ.ת('') end

㣺
.ߴߵ(295, 147)
.߽ŵ㵽ͼ(295,146,'D504')
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

D5061:
.ӵ(';')
.ӵ(';')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5061') then ϵͳ.ת('жϵͼ') end
.ܵ(7, 11, true)
if .ָľ(7,10) >= 100000 then ϵͳ.ת('D50611') end
.ܵ(7, 10, true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5061') then ϵͳ.ת('D5061') end

D5066:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5066') then ϵͳ.ת('жϵͼ') end
.ܵ(92, 39, true)
if .ָľ(92,38) >= 100000 then ϵͳ.ת('D50661') end
.ܵ(92, 38, true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5066') then ϵͳ.ת('D5066') end

D50661:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5066') then ϵͳ.ת('жϵͼ') end
.ܵ(40, 71, true)
ϵͳ.sleep(1000)
if .ָľ(40,70) >= 100000 then ϵͳ.ת('D5066') end
.߽ŵ㵽ͼ(40,70,'D5061',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5066') then ϵͳ.ת('D50661') end

D50611:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5061') then ϵͳ.ת('жϵͼ') end
.ܵ(66, 11, true)
if .ָľ(66,10) >= 100000 then ϵͳ.ת('D5061') end
.ܵ(66, 10, true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5061') then ϵͳ.ת('D50611') end

D5069:
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5069') then ϵͳ.ת('жϵͼ') end
.ܵ(89, 75, true)
.ܵ(90, 76, true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5069') then ϵͳ.ת('D5069') end
ϵͳ.ת('жϵͼ')

߲
.ܵ(39, 42)
.߽ŵ㵽ͼ(39,43,'D5072')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') end

߲һ
.л״̬Ϊ('')
.ߴߵ(89, 22)
.߽ŵ㵽ͼ(90,20,'D5073')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5072') then ϵͳ.ת('߲һ') end

߲
.ߴߵ(16, 72)
.ߴߵ(16, 89)
.ߴߵ(56, 68)
.ߴߵ(80, 44)
.ߴߵ(79, 14)
.ߴߵ(35, 50)
.ߴߵ(24, 38)
.ߴߵ(10, 24)
.ߴߵ(28, 24)
.ߴߵ(57, 12)
.ߴߵ(48, 24)
ϵͳ.ת('жϵͼ')

߲
.ߴߵ(72, 20)
.߽ŵ㵽ͼ(48,90,'D5073')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D5074') then ϵͳ.ת('߲') end
ϵͳ.ת('жϵͼ')

ûԶس:
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 ϵͳ.ǰͼ('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 ϵͳ.ǰͼ('D5071') then ϵͳ.ת('߲') ϵͳ.д־('ǰͼD5071תûԶس') ϵͳ.ӡ('ǰͼD5071תûԶس') return true end
if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') ϵͳ.д־('ǰͼ5תûԶس') ϵͳ.ӡ('ǰͼ5תûԶس') return true end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('Ʒ') ϵͳ.д־('ǰͼ3תûԶس') ϵͳ.ӡ('ǰͼ3תûԶس') return true end

