summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/mobpoint.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 8c6970501..561a127ee 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -25,11 +25,16 @@ OnNPCKillEvent:
if (strmobinfo(7, killedrid) == 0 && readparam(JobExp) > 0) {
setparam(JobExp, readparam(JobExp)-1);
if (is_admin())
- dispbottom readparam(JobExp);
+ addtimer(5, "#mobptsys::OnDelJExp");
}
// call functions
callfunc "mobpoint";
callfunc "SQuest_Hasan";
end;
+
+OnDelJExp:
+ setparam(JobExp, readparam(JobExp)-1);
+ dispbottom "Hey hey";
+ end;
}