diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 10:32:17 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 10:32:17 +0000 |
commit | 0705e5f5a0943a4d04ce6b39ee1edf46f49d1821 (patch) | |
tree | 70a7246d8a636d92282ddc12d6ce8ff13826b214 | |
parent | eafe35a5fe75ddef4ac085c6296721fd3377c080 (diff) | |
download | hercules-0705e5f5a0943a4d04ce6b39ee1edf46f49d1821.tar.gz hercules-0705e5f5a0943a4d04ce6b39ee1edf46f49d1821.tar.bz2 hercules-0705e5f5a0943a4d04ce6b39ee1edf46f49d1821.tar.xz hercules-0705e5f5a0943a4d04ce6b39ee1edf46f49d1821.zip |
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
-rw-r--r-- | npc/jobs/1-1e/gunslinger.txt | 4 | ||||
-rw-r--r-- | npc/jobs/1-1e/ninja.txt | 4 |
2 files changed, 4 insertions, 4 deletions
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;
|