summaryrefslogblamecommitdiff
path: root/npc/pre-re/jobs/1-1/archer.txt
blob: c51a080bda86451884ceb6c2b97b8ca94d8f75d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                               
                             
                                                               
          
                                                               
       
                                                               
               
                                                               
                              
                                                               

                                              
                                                               
                                                            
                         
                                                                                                                         

                                                 





                                                           
                                                         












                                                                                                                     
                                      






                                                                                                      
                 








                                                                                                                   
         
                                 
                                                    
             
                                                                                                      
               
                                                               
                                                 
                                                                      
                             
                                                         
                                                         


                                                                                                    

                                                         




                                                                      

                                                 








                                                                                                               
                                                 





                                                                                                                                                                        

                                                 


                                                                                                           
                              
                 
                                                                                                  
                                                 

                                                         
                 
                                         
                                                                                                         
                      

                                         

                                                                                                   

                                         



                                                              

                                         



                                                                   

                                         



                                                                                                  
                      
               

                                                                               
                      
         
 
//===== rAthena Script ======================================= 
//= Renewal Archer Job Change
//===== By: ================================================== 
//= Kisuka
//===== Current Version: ===================================== 
//= 1.1
//===== Compatible With: ===================================== 
//= rAthena SVN
//===== Description: ========================================= 
//= Job Change to Archer Class
//===== Additional Comments: ================================= 
//= 1.0 First Version. [Kisuka]
//= 1.1 Added Baby job change support. [Masao]
//============================================================ 
payon_in02,64,71,4	script	Archer Guildsman	85,{
	if (Upper == 1) {
		if ((Class == Job_Novice_High) && (FJOB == Job_Ranger || FJOB == Job_Minstrel || FJOB == Job_Wanderer)) {
			mes "[Archer Guildsman]";
			mes "Hey, I know you.";
			next;
			mes "[Archer Guildsman]";
			mes "Ah, you must have been";
			mes "to Valhalla and been reborn.";
			mes "Wow, that's so impressive!";
			next;
			if (getskilllv("NV_BASIC") < 9) {
				mes "[Archer Guildsman]";
				mes "Err...";
				mes "You'd better learn all the Basic Skills first before you can become an Archer.";
				next;
				mes "[Archer Guildsman]";
				mes "Alright, see you later.";
				close;
			}
			mes "[Archer Guildsman]";
			mes "Well then. I don't";
			mes "need to say anything else.";
			mes "I know you'll make a great Archer...";
			next;
			skill 143,0,1;
			jobchange Job_Archer_high;
			skill 147,1,0;
			skill 148,1,0;
			mes "[Archer Guildsman]";
			mes "Although there's no special";
			mes "reward for you this time, I hope you understand. Take care of yourself.";
			close;
		}
		mes "[Archer Guildsman]";
		mes "Oh...?";
		mes "Hey, what are";
		mes "you doing here...?";
		next;
		mes "[Archer Guildsman]";
		mes "I can tell that you're not cut out to be an Archer. It sort of feels like you're meant to do";
		mes "something else...";
		close;
	}
	mes "[Archer Guildsman]";
	mes "Nice to meet you. How may I help you?";
	next;
	switch (select("I want to be an Archer.:I need the requirements, please.:Nothing, thanks.")) {
	case 1:
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Archer Guildsman]";
			mes "You are..." + strcharinfo(0) + " right?";
			next;
			if (getskilllv("NV_BASIC") < 9) {
				mes "[Archer Guildsman]";
				mes "Well, you don't have the right skill level. ";
				mes "Your job level must be at least ^4d4dff10^000000";
				mes "and your Basic Skill level should reach ^4d4dfflevel 9^000000";
				next;
				mes "[Archer Guildsman]";
				mes "Because an Archer needs";
				mes "extremely high concentration,";
				mes "so we do not accept ";
				mes "those who have little patience.";
				close2;
			}
			mes "[Archer Guildsman]";
			mes "You seem to have learned the basic skills..";
			mes "....Hm~~ you are now ready to become an Archer. I will take the step right away.";
			next;
			skill 143,0,1;
			if(Class == Job_Baby){
				jobchange Job_Baby_Archer;
			} else {
				jobchange Job_Archer;
			}
			mes "[Archer Guildsman]";
			mes "Congratulations! You are now an Archer! Also, we hope that you actively participate in many programs for the revival of the Archer Guild.";
			mes "Ah, items have arrived from the Production Department. Here, take these! These are all yours!";
			getitem 1742,1; //N_Composite_Bow
			getitem 12004,1; //Arrow_Container
			getitem 12009,1; //Silver_Arrow_Container
			getitem 12008,1; //Fire_Arrow_Container
			next;
			mes "[Archer Guildsman]";
			mes "Having a bow and arrows, now you've become a real Archer.";
			mes "If you open the arrow quiver, there will be arrows in it that you can equip.";
			mes "Well, I expect to hear good news from you. It's time to say goodbye. Bye.";
			close;
		}
		if (Class == Job_Baby_Archer || Class == Job_Archer || Class == Job_Archer_High) {
			mes "[Archer Guildsman]";
			mes "Haha, you are kidding me..";
			close;
		}
		mes "[Archer Guildsman]";
		mes "Wait a second. You've chosen a different job already. You don't need to know this~";
		close;
	case 2:
		mes "[Archer Guildsman]";
		mes "An Archer has skills using a bow and has various talents.";
		mes "The greatest ability of an Archer is attacking enemies from a long distance.";
		next;
		mes "[Archer Guildsman]";
		mes "Although an Archer has weaker HP,";
		mes "he or she can shoot enemies";
		mes "at a long range,";
		mes "so an Archer is safer in a real battle.";
		next;
		mes "[Archer Guildsman]";
		mes "Although an Archer in Ragnarok has lower HP,";
		mes "he or she has high accuracy and attack rate";
		mes "so that the archer can kill monsters";
		mes "before they get close to an Archer.";
		next;
		mes "[Archer Guildsman]";
		mes "^8E2323An Archer can change";
		mes "^8E2323jobs to a Hunter.";
		mes "^8E2323Other than Hunter, if you are a man, you can change your job to Bard";
		mes "^8E2323and if you are a woman, you can change your job to Dancer.^000000";
		close;
	case 3:
		mes "[Archer Guildsman]";
		mes "If you have any questions, feel free to come and ask me.";
		close;
	}
}