summaryrefslogtreecommitdiff
path: root/npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt
diff options
context:
space:
mode:
authorVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-02 18:50:09 +0000
committerVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-02 18:50:09 +0000
commit430f60e0b89f43358026ff1a170ac8938a534244 (patch)
tree6094005321b26405258b47ce4a4de6a8ae33d806 /npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt
parent32ebde394d7762fdbb28ba9b5c3ce9a232292bb7 (diff)
downloadhercules-430f60e0b89f43358026ff1a170ac8938a534244.tar.gz
hercules-430f60e0b89f43358026ff1a170ac8938a534244.tar.bz2
hercules-430f60e0b89f43358026ff1a170ac8938a534244.tar.xz
hercules-430f60e0b89f43358026ff1a170ac8938a534244.zip
eACC scripts.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5429 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt')
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt b/npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt
new file mode 100644
index 000000000..0d3c9bd68
--- /dev/null
+++ b/npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt
@@ -0,0 +1,39 @@
+//===== eAthena Script =======================================
+//= Global functions
+//===== By: ==================================================
+//= Skotlex
+//===== Current Version: =====================================
+//= 1.5
+//===== Compatible With: =====================================
+//= eAthena SVN R3424+, RO Ep6+
+//===== Description: =========================================
+//= Global Functions
+//=
+//===== Additional Comments: =================================
+//= GF_getJobName= function for getting a job's name
+//= GF_getJobName2= gets a jobs name modified by Type (see below)
+//= GF_getJobId= gets a jobs number modified by Type (see below)
+//= GF_getJobLevel= identifies novices/1st/2nd among classes
+//= GF_getJobType= identifies normal/advanced/babies classes
+//= - GF_getJobClass= identifies job class (swordie, mage, etc)
+//============================================================
+
+function script GF_getJobName {
+
+ switch (getarg(0)) {
+
+ case Job_Novice:
+ return "novice";
+ case Job_Acolyte:
+ return "acolyte";
+ case Job_Archer:
+ return "archer";
+ case Job_Mage:
+ return "mage";
+ case Job_Merchant:
+ return "merchant";
+ case Job_Swordman:
+ return "swordsman";
+ case Job_Thief:
+ return "thief";
+ case Job_Taekwon: \ No newline at end of file