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

--*****************Ƽ*****************
----־2ʹ,޸ˮ(ȡ)
--б-ҩ(С)<><5><>
--б-ħҩ(С)<><5><>
--б-ҩ()<><5><>
--б-ħҩ()<><5><>
--س-ո(1)()-HP(5)س
--سǶ-·(1)س-(1)س
--س-·־(1)س-־(1)س

ϵͳ.óű()

жϵͼ
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ûԶس') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('5') then ϵͳ.ת('µ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0132') then ϵͳ.ת('߽') end
if ϵͳ.ǰͼ('0141') then ϵͳ.ת('ε') end
if ϵͳ.ǰͼ('0131') then ϵͳ.ת('1') end
if ϵͳ.ǰͼ('0130') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0127') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0121') then ϵͳ.ת('Ӫ') end
if ϵͳ.ǰͼ('0140') then ϵͳ.ת('ֿ') end
if ϵͳ.ǰͼ('0136') then ϵͳ.ת('ù') end


ûԶس:
ϵͳ.øѡ(ҳѡ.ʬ, false)
if .ƷҪ('ҩƷ') then ϵͳ.ñ('ҩ') end
if .Ʒ('') > 0 then ϵͳ.ñ('') end
if .Ʒ('') > 0 then ϵͳ.ñ('') end
if .ƷҪ('') then ϵͳ.ñ('') end
if .װҪ('') then ϵͳ.ñ('') end
if .ƷҪ('װ') then ϵͳ.ñ('·') end
if .ƷҪ('ͷ') then ϵͳ.ñ('·') end
if .װҪ('·') then ϵͳ.ñ('·') end
if .װҪ('ͷ') then ϵͳ.ñ('ͷ') end
if .װҪ('') then ϵͳ.ñ('') end
if .װҪ('ѥ') then ϵͳ.ñ('ѥ') end
if .ƷҪ('') then ϵͳ.ת('ȥε') end
if .ƷҪ('') then ϵͳ.ת('ȥε') end
if .ƷҪ('ָ') then ϵͳ.ת('ȥε') end
if .װҪ('') then ϵͳ.ת('ȥε') end
if .װҪ('') then ϵͳ.ת('ȥε') end
if .װҪ('') then ϵͳ.ת('ȥε') end
if .װҪ('ָ') then ϵͳ.ת('ȥε') end
if .װҪ('ҽָ') then ϵͳ.ת('ȥε') end
if .ȼ() >= 7 and .ƷҪ('鼮') then ϵͳ.ת('ȥ') end
if .ƷҪ('ҩ') then ϵͳ.ñ('ҩ') end

ȼ:
if .Ʒ('') > 0 then ϵͳ.ñ('') end
if .Ʒ('') > 0 then ϵͳ.ñ('') end
if .ȼ() > 4 then ϵͳ.ת('') end

ְҵ鼼:
if .ְҵ() == 'ʿ' then ϵͳ.ת('ʿ鼼') end
if .ְҵ() == 'սʿ' then ϵͳ.ת('սʿ鼼') end
if .ְҵ() == 'ʦ' then ϵͳ.ת('ʦ鼼') end

ʼһ:
if .ȼ() > 10 then ϵͳ.ת('11תƵ') end
ϵͳ.øѡ(ҳѡ.ʬ, true)
if .('') then ϵͳ.ñ('ʹħ') end
if .ȼ() < 7 then ϵͳ.ñ('ô') end
if .ȼ() > 6 then ϵͳ.ñ('ô1') end
.ߴߵ(266, 596)
.ߴߵ(273, 667)
.ߴߵ(250, 667)
.ߴߵ(217, 646)
.ߴߵ(194, 662)
.ߴߵ(175, 632)
.ߴߵ(220, 594)
.ߴߵ(273, 575)
.ߴߵ(316, 559)
.ߴߵ(339, 601)
.ߴߵ(346, 578)
.ߴߵ(297, 629)
.ߴߵ(269, 629)
.ߴߵ(222, 636)
ϵͳ.ת('ȼ')

11תƵ:
.ܵ(326, 272)
ϵͳ.д־('***11ԶתƵ***')
ϵͳ.д־('***ֶѡű,ټһ***')
ϵͳ.ű()

ô:
ϵͳ.ҪĹΪ('¹,,')
ϵͳ.sleep(1000)


ô1:
ϵͳ.ҪĹΪ('¹,,,๳è,è')
ϵͳ.sleep(1000)


ʹħ:
ϵͳ.ı('LabeledEditMoFa','')
ϵͳ.sleep(1000)


:
.ܵ(293, 606)
.NPCԻ('')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')
.('')


ҩ:
.ܵ(288, 612)
.Ʒ('߽Сϰ','ҩ') 


ҩ:
.ܵ(288, 612)
.NPCԻ('߽Сϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ҩƷ')


ʿ鼼:
ϵͳ.sleep(1000)
if .ȼ() < 7 then ϵͳ.ת('ʼһ') end
if .Ʒ('') < 550 then ϵͳ.ת('ʼһ') end
if .('') then ϵͳ.ת('ʼһ') end
ϵͳ.ת('ȥ')

սʿ鼼:
ϵͳ.sleep(1000)
if .ȼ() < 7 then ϵͳ.ת('ʼһ') end
if .Ʒ('') < 550 then ϵͳ.ת('ʼһ') end
if .('') then ϵͳ.ת('ʼһ') end
ϵͳ.ת('ȥ')

ʦ鼼:
ϵͳ.sleep(1000)
if .ȼ() < 7 then ϵͳ.ת('ʼһ') end
if .Ʒ('') < 550 then ϵͳ.ת('ʼһ') end
if .('') then ϵͳ.ת('ʼһ') end

ȥ:
.ܵ(283, 636)
.߽ŵ㵽ͼ(282,635,'0132')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ȥ') end

߽:
if .ƷҪ('鼮') then ϵͳ.ñ('鼮') end

ѧ:
if .Ʒ('') < 550 then ϵͳ.ת('') end
if .ְҵ() == 'ʿ' then ϵͳ.ת('ʿѧ') end
if .ְҵ() == 'սʿ' then ϵͳ.ת('սʿѧ') end
if .ְҵ() == 'ʦ' then ϵͳ.ת('ʦѧ') end

ʿѧ:
if .ȼ() < 7 then ϵͳ.ת('') end
if .('') then ϵͳ.ת('ս') end
.ܵ(11, 14)
.NPCԻ('Ӽϰ')
.ѡ('','@buy')
.('', 1)
ϵͳ.sleep(1000)
.Ʒ('')
ϵͳ.sleep(1000)
ϵͳ.س()

ս:
if .Ʒ('') < 550 then ϵͳ.ת('') end
if .ȼ() < 9 then ϵͳ.ת('') end
if .('ս') then ϵͳ.ת('') end
.ܵ(11, 14)
.NPCԻ('Ӽϰ')
.ѡ('','@buy')
.('ս', 1)
ϵͳ.sleep(1000)
.Ʒ('ս')
ϵͳ.sleep(1000)
ϵͳ.س()
ϵͳ.ת('')

սʿѧ:
if .ȼ() < 7 then ϵͳ.ת('') end
if .('') then ϵͳ.ת('') end
.ܵ(11, 14)
.NPCԻ('Ӽϰ')
.ѡ('','@buy')
.('', 1)
ϵͳ.sleep(1000)
.Ʒ('')
ϵͳ.sleep(1000)
ϵͳ.س()
ϵͳ.ת('')

ʦѧ:
if .ȼ() < 7 then ϵͳ.ת('') end
if .('') then ϵͳ.ת('') end
.ܵ(11, 14)
.NPCԻ('Ӽϰ')
.ѡ('','@buy')
.('', 1)
ϵͳ.sleep(1000)
.Ʒ('')
ϵͳ.sleep(1000)
ϵͳ.س()
ϵͳ.ת('')

:
.ܵ(14, 15)
.߽ŵ㵽ͼ(15,15,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0132') then ϵͳ.ת('') end
ϵͳ.ת('жϵͼ')

鼮:
.ܵ(11, 14)
.NPCԻ('Ӽϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('鼮')


ȥε:
.ܵ(301, 623)
.߽ŵ㵽ͼ(302,622,'0141')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ȥε') end

ε:
.ܵ(6, 12)
if .ƷҪ('') then ϵͳ.ñ('') end
if .װҪ('') then ϵͳ.ñ('') end
if .ƷҪ('') then ϵͳ.ñ('') end
if .װҪ('') then ϵͳ.ñ('') end
if .װҪ('') then ϵͳ.ñ('') end
if .ƷҪ('ָ') then ϵͳ.ñ('ָ') end
if .װҪ('ָ') then ϵͳ.ñ('ָ') end
if .װҪ('ҽָ') then ϵͳ.ñ('ҽָ') end

ε:
.ܵ(3, 11)
.߽ŵ㵽ͼ(2,12,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0141') then ϵͳ.ת('ε') end
ϵͳ.ת('жϵͼ')

:
.ܵ(6, 12)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')


:
.ܵ(6, 12)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


:
.ܵ(10, 16)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')


:
.ܵ(10, 16)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


:
.ܵ(10, 16)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ָ:
.ܵ(16, 22)
.NPCԻ('ָϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ָ')


ָ:
.ܵ(16, 22)
.NPCԻ('ָϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ָ')


ҽָ:
.ܵ(16, 22)
.NPCԻ('ָϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ҽָ')


:
if .Ʒ('') < 990 then ϵͳ.ת('ְҵ鼼') end
if .װ('') == 'ͭ' then ϵͳ.ת('ְҵ鼼') end
.ܵ(292, 613)
.NPCԻ('ϰ')
.ѡ('','@buy')
ϵͳ.sleep(1000)
.('ͭ', 1)
ϵͳ.sleep(1000)
.Ʒָλ('ͭ','')
ϵͳ.sleep(1000)
ϵͳ.ת('ְҵ鼼')

:
.ܵ(292, 613)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')


:
.ܵ(292, 613)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


·:
.ܵ(299, 606)
.NPCԻ('׼ҷװϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('װ')
.('ͷ')


·:
.ܵ(299, 606)
.NPCԻ('׼ҷװϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('·')


ͷ:
.ܵ(299, 606)
.NPCԻ('׼ҷװϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ͷ')


:
.ܵ(299, 606)
.NPCԻ('׼ҷװϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ѥ:
.ܵ(299, 606)
.NPCԻ('׼ҷװϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ѥ')


:
.ܵ(14, 16)
.߽ŵ㵽ͼ(14,17,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0127') then ϵͳ.ת('') end
ϵͳ.ת('жϵͼ')

ֿ:
.ܵ(3, 10)
.߽ŵ㵽ͼ(2,11,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0140') then ϵͳ.ת('ֿ') end
ϵͳ.ת('жϵͼ')

ù:
.ܵ(3, 19)
.߽ŵ㵽ͼ(2,20,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0136') then ϵͳ.ת('ù') end
ϵͳ.ת('жϵͼ')


Ӫ:
.ܵ(3, 16)
.߽ŵ㵽ͼ(2,16,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0121') then ϵͳ.ת('Ӫ') end
ϵͳ.ת('жϵͼ')

1:
.ܵ(5, 15)
.߽ŵ㵽ͼ(4,16,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0131') then ϵͳ.ת('1') end
ϵͳ.ת('жϵͼ')

:
.ܵ(7, 11)
.߽ŵ㵽ͼ(8,12,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0130') then ϵͳ.ת('') end
ϵͳ.ת('жϵͼ')

ȫ:
.ѡ('ȫ','@t_repair')
ϵͳ.sleep(1000)


:
if ϵͳ.ǰͼ('0132') then ϵͳ.ת('߽') ϵͳ.д־('ǰͼ0132תûԶس') ϵͳ.ӡ('ǰͼ0132תûԶس') return true end
if ϵͳ.ǰͼ('0141') then ϵͳ.ת('ε') ϵͳ.д־('ǰͼ0141תûԶس') ϵͳ.ӡ('ǰͼ0141תûԶس') return true end
if ϵͳ.ǰͼ('0131') then ϵͳ.ת('1') ϵͳ.д־('ǰͼ0131תûԶس') ϵͳ.ӡ('ǰͼ0131תûԶس') return true end
if ϵͳ.ǰͼ('0130') then ϵͳ.ת('') ϵͳ.д־('ǰͼ0130תûԶس') ϵͳ.ӡ('ǰͼ0130תûԶس') return true end
if ϵͳ.ǰͼ('0127') then ϵͳ.ת('') ϵͳ.д־('ǰͼ0127תûԶس') ϵͳ.ӡ('ǰͼ0127תûԶس') return true end
if ϵͳ.ǰͼ('0121') then ϵͳ.ת('Ӫ') ϵͳ.д־('ǰͼ0121תûԶس') ϵͳ.ӡ('ǰͼ0121תûԶس') return true end
if .() > 50 then ϵͳ.ת('ûԶس') ϵͳ.д־('ش50תûԶس') ϵͳ.ӡ('ش50תûԶس') return true end


