diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-08 05:01:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-08 05:01:12 -0300 |
commit | d084ff7e49af8e8d54e527cf90c4593f947a4980 (patch) | |
tree | 4b340fb02bf283548d0973301a5e825246fc6d8e | |
parent | 4b68c8e639f5daf795bab7595c41fb871dd9fc73 (diff) | |
download | serverdata-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
-rw-r--r-- | npc/functions/mobpoint.txt | 5 |
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"; |