From 0705e5f5a0943a4d04ce6b39ee1edf46f49d1821 Mon Sep 17 00:00:00 2001 From: Lupus Date: Mon, 31 Jul 2006 10:32:17 +0000 Subject: commonized job change trough the function - u can add an announce "there's a new JOB-NAME !" in that function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7997 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/1-1e/gunslinger.txt | 4 ++-- npc/jobs/1-1e/ninja.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/jobs/1-1e') diff --git a/npc/jobs/1-1e/gunslinger.txt b/npc/jobs/1-1e/gunslinger.txt index 4913c9b52..e8ce17583 100644 --- a/npc/jobs/1-1e/gunslinger.txt +++ b/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$; diff --git a/npc/jobs/1-1e/ninja.txt b/npc/jobs/1-1e/ninja.txt index 02b97ec2e..0d8cdb8a3 100644 --- a/npc/jobs/1-1e/ninja.txt +++ b/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; -- cgit v1.2.3-60-g2f50