----------------------------------------------------

if ͼID() == 11102 then
	if 	ɫ() == 1 then
		("=============Сſʼֱ ȡֱ=========================");
		if ͼID() == 10002 then				--ѧ
			ʼܴ();
			(12983.00,95.00,232.82,600,60,1);
			ܴ();		
			if 귶Χ(12983.00,95.00)<100 then
				ʹð("G")
				ʱ(2000);
			end;			
		elseif ǰɫ() == 1 and ɫ() == 1 then
			("=============ȡֱ=========================");
			--ǰɫΪ150ɫֻһ,ȥֱֱС
			if Ʒ("Vern Powerpass") > 0 then
				дɱ("Ƿֱ");
				ʹƷ("Vern Powerpass",2);
				ʱ(1000);					
			elseif ȼ() > 49 and ȡɱ("Ƿֱ") == 0 then			
				("=============ȡֱ=========================");
				ʼ();
			elseif ȡɱ("Ƿֱ") == 1  then	--and ɫ(2)>1
				("=============ɫֱ=========================");
				ɫֱ();
				ʱ(2000);				
			end;
		end;
		--
	elseif 	ɫ(1) > 1 and ɫ() ==1 and ǰɫ() == 1 then
		("=============ѽС ʼֱ=========================");
		if Ʒ("Vern Powerpass") > 0 then
			дɱ("Ƿֱ");
			ʹƷ("Vern Powerpass",2);
			ʱ(1000);
		elseif ȼ() > 49 and ȡɱ("Ƿֱ") == 0 then
			ʼ();
		elseif ȡɱ("Ƿֱ") == 1 then
			ɫֱ();
		end;
	elseif ǰɫ() == 2 and ȼ() >= 50 then
		("========ɫ2=====ȡ쳵==========================");

		if ͼID() == 11102  then				
			if ǰɫ() == 2  and (귶Χ(23560.00,-33010.00) < 800) and ͼID() == 11102 then
				ýű("\\ֱŻװ.txt");		
			elseif ͼID() == 11102 then
				("=============뿪Ϸ=========================");
				if ؼǷ("root1.arkui.windowCanvas.periodQuestNoticeBoardWnd") == 0 then
					ʹð("ALT",2);
					ʹð("J");
					ʹð("ALT",3);
					ʱ(1000);
				elseif ؼǷ("root1.arkui.windowCanvas.periodQuestNoticeBoardWnd")>0 then				
					ȡ쳵();	
					ʱ(2000);
					ȡ쳵();					
					ʱ(5000);
					ȡ쳵();	
					뿪Ϸ(1);
				end;
			end;
		end;	
	elseif 	ǰɫ() == 1 then
		if ɫ() > 1 then
			("========ɫ1=====ŵɫ2==========================");
			½(2);
			ʱ(2000);
		end;	
	end;
elseif ȼ() < 11 and ǰɫ() == 2  then
	("=============Сſʼֱ Ļ=========================");
	-----------------------------------------------------------------
	--СŴֱĻ
	if ͼID() ==10023 or ͼID() ==10021 then
		("============ֱͼ==============================");	
		--ֱͼ
		ðտʼ(1);
		ðտʼ(2);
		ðտʼ(3);
		ðտʼ(4);
		ðտʼ();			
	elseif Ƿ("",0x18E0D) == 1 then	
		if () == 1 then
			Ѱ·(10864.00,132.00,25.71);
		elseif () == 2 then
			Ѱ·(10864.00,132.00,25.71);
			ɼƷ();
			ʱ(3000);
			Ƿתְ = 0;
		elseif () == 3 then
			if 귶Χ(10864.00,132.00) < 30 and 귶Χ(11865.10,139.00) > 50 and Ƿתְ == 0 then
				if ǰְҵ() == 0xC9 then
					תְ(0xCD);
					ʱ(3000);
					Ƿתְ = 1;			
				else
					תְ();
					ʱ(3000);
					Ƿתְ = 1;
				end;	
			else
				if 귶Χ(11865.10,139.00) > 50 and 귶Χ(10864.00,132.00) < 30 and Ƿתְ == 1 then
					();
					ʱ(2000);	
					Ƿתְ = 2;				
				else
					Ѱ·(11865.10,139.00,14.89);
					if 귶Χ(11865.10,139.00)<50 then
						if ǰְҵ() == 0xC9 then
							תְ(0xCD);
						else
							תְ();
						end;
					end;							
					ʱ(1000);
				end;
			end;
		elseif () == 4 then
			Ѱ·(12689.00,157.00,232.82);		
			if 귶Χ(12689.00,157.00)<50 then
				("Beatrice");
				Ѱ·(13006.54,135.00,244.84);
				ɼƷ(300);			
			end;
		end;
	--To Forgotten Land ȥ	
	elseif Ƿ("",0x19F0A1) == 1 and ͼID() != 10200 then
		if ͼID() == 10008 then
			ðտʼ(1);
			ðտʼ(2);
			ðտʼ(3);
			ðտʼ(4);
			ðտʼ();		
		elseif () == 1 then
			Ѱ·(13006.54,135.00,244.84);
			if 귶Χ(13006.54,135.00)<50 and ͼID() != 10200  then
				ɼƷ(300);
			end;
		end;		
	elseif Ƿ("",0x19F231) == 1 then
		if () == 1 then
			if ͼID() == 10200 then
				("=================ðտʼ=====================");
				ʼѰ·();	
				Ѱ·(1411.00,2706.00,528.25);
				Ѱ·(1937.00,2452.00,532.00);
				Ѱ·(1937.00,2452.00,532.00);
				if 귶Χ(1937.00,2452.00)<100 then				
					ðտʼ(1);
					ðտʼ(2);
					ðտʼ(3);
					ðտʼ(4);
					ðտʼ();			
					ʱ(5000);
				end;
			end;
		end;
	end;
elseif ͼID() == 10002 then
	ʼܴ();
	(12983.00,95.00,232.82,600,60,1);
	ܴ();		
	if 귶Χ(12983.00,95.00)<100 then
		ʹð("G")
		ʱ(2000);
	end;
end;
ʱ(1000);
--




