summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 09:07:50 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-22 09:07:50 +0000
commitf802229a182ff7b88719dcbdf89716ab52751ab8 (patch)
tree1cf2b06a19c189acc8762bde5bd502a8bba8ee44 /npc/other/Global_Functions.txt
parent3e8e64a63c1eeb9366c8b8889bbce71ddbdfc0ec (diff)
downloadhercules-f802229a182ff7b88719dcbdf89716ab52751ab8.tar.gz
hercules-f802229a182ff7b88719dcbdf89716ab52751ab8.tar.bz2
hercules-f802229a182ff7b88719dcbdf89716ab52751ab8.tar.xz
hercules-f802229a182ff7b88719dcbdf89716ab52751ab8.zip
* Global_Functions fix. Jobmaster fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6687 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index 9b25cdce5..5725b1c0c 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -68,8 +68,10 @@ function script F_ClearJobVar {
//////////////////////////////////////////////////////////////////////////////////
function script Job_Change {
- if (Upper==0) jobchange getarg(0); //Change Job For Common
- if (Upper==2) jobchange getarg(0) + Job_Baby; //Change Job For Baby Class
+ if (Upper<2)
+ jobchange getarg(0); // Common jobchange
+ else
+ jobchange getarg(0) + Job_Baby; //Change Job For Baby Class
return;
}