Bladeren bron

commonized job change trough the function - u can add an announce "there's a new JOB-NAME !" in that function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7997 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 19 jaren geleden
bovenliggende
commit
3511ff32b6
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      npc/jobs/1-1e/gunslinger.txt
  2. 2 2
      npc/jobs/1-1e/ninja.txt

+ 2 - 2
npc/jobs/1-1e/gunslinger.txt

@@ -50,8 +50,8 @@ if (Class == Job_Novice) {
 			mes "Glad to know you did what Mr. Tanieh asked you to do, makes me know you're worthy of being..";
 			next;
 			mes @npcname$;
-			mes "A gunslinger!!!";
-			jobchange Job_Gunslinger;
+			mes "A Gunslinger!!!";
+			callfunc "Job_Change",Job_Gunslinger;
 			callfunc "F_ClearJobVar";		//clears all job variables for the current player
 			next;
 			mes @npcname$;

+ 2 - 2
npc/jobs/1-1e/ninja.txt

@@ -3,7 +3,7 @@
 //===== Initial Version by: ================================== 
 //= Lord Gywall
 //===== Current Version: ===================================== 
-//= 1.1b
+//= 1.1c
 //===== Compatible With: ===================================== 
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -53,7 +53,7 @@ N_C:
 	mes "..That's right.";
 	mes "You can be a ninja from this day forward.";
 	next;
-	jobchange Job_Ninja;
+	callfunc "Job_Change",Job_Ninja;
 	mes "[Ninja Master]";
 	mes "Congratulations. Now go train~ desu!";
 	close;