summaryrefslogtreecommitdiff
path: root/npc/other/Global_Functions.txt
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-15 18:51:07 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-15 18:51:07 +0000
commit26629f49bb2ecefcd94326346cbb7967015525d2 (patch)
tree1966f48c97118c8998e4c59acaea47b481d1c2cf /npc/other/Global_Functions.txt
parentbe5523649e10d9facffa51a9e11cc13e64e19867 (diff)
downloadhercules-26629f49bb2ecefcd94326346cbb7967015525d2.tar.gz
hercules-26629f49bb2ecefcd94326346cbb7967015525d2.tar.bz2
hercules-26629f49bb2ecefcd94326346cbb7967015525d2.tar.xz
hercules-26629f49bb2ecefcd94326346cbb7967015525d2.zip
Updated Poring Tower to not refinable. (bugreport: 1050)
Renamed custom Stylist to Stylist#customstylist to avoid conflicts with official one. (bugreport: 1042 Updated Airship Typing Challenge to not fail you when you get both strings correct. (bugreport: 1008) Fixed Job_Change Function to properly jobchange babies. (bugreport: 943) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12368 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/Global_Functions.txt')
-rw-r--r--npc/other/Global_Functions.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt
index a9add7eca..d72621074 100644
--- a/npc/other/Global_Functions.txt
+++ b/npc/other/Global_Functions.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus, kobra_k88
//===== Current Version: =====================================
-//= 2.10
+//= 2.11
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
@@ -33,6 +33,7 @@
//= 2.09 Cleared F_ClearGarbage [Lupus]
//= 2.10 Added F_CheckMaxCount to check count of carrid items. [L0ne_w0lf]
//= 2.10a Removed fuction F_CheckMaxCount. Not needed. [L0ne_W0lf]
+//= 2.11 Updated function Job_Change to jobchange based on Upper value. [Paradox924X]
//============================================================
@@ -98,10 +99,7 @@ function script F_ClearGarbage {
//////////////////////////////////////////////////////////////////////////////////
function script Job_Change {
- if (Upper<2)
- jobchange getarg(0); // Common jobchange
- else
- jobchange getarg(0) + Job_Baby; //Change Job For Baby Class
+ jobchange getarg(0),Upper; //Jobchange based on Upper
logmes "CLASS CHANGE: " +strcharinfo(0)+ " become a "+jobname(Class);
return;
}