summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
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;
}