From d084ff7e49af8e8d54e527cf90c4593f947a4980 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 8 Aug 2019 05:01:12 -0300 Subject: Attempt to fix the JobExp Limiter using an ancient piece of code from manuals --- npc/functions/mobpoint.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc') 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"; -- cgit v1.2.3-70-g09d2