summaryrefslogtreecommitdiff
path: root/npc/functions/mobpoint.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-08 05:01:12 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-08 05:01:12 -0300
commitd084ff7e49af8e8d54e527cf90c4593f947a4980 (patch)
tree4b340fb02bf283548d0973301a5e825246fc6d8e /npc/functions/mobpoint.txt
parent4b68c8e639f5daf795bab7595c41fb871dd9fc73 (diff)
downloadserverdata-d084ff7e49af8e8d54e527cf90c4593f947a4980.tar.gz
serverdata-d084ff7e49af8e8d54e527cf90c4593f947a4980.tar.bz2
serverdata-d084ff7e49af8e8d54e527cf90c4593f947a4980.tar.xz
serverdata-d084ff7e49af8e8d54e527cf90c4593f947a4980.zip
Attempt to fix the JobExp Limiter using an ancient piece of code from manuals
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r--npc/functions/mobpoint.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 1c1883a6f..d525ed616 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -44,10 +44,11 @@ OnNPCKillEvent:
// Remove undue Job exp
// The check is probably correct, but setparam is not working =/
/*
+ */
if (strmobinfo(7, killedrid) == 0 && readparam(JobExp) > 0) {
- setparam(JobExp, readparam(JobExp)-1);
+ //setparam(JobExp, readparam(JobExp)-1);
+ JobExp-=1;
}
- */
// call functions
callfunc "mobpoint";