From 29861a91d835dd3689aa9bd6ac1ba829b5e24f35 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 23 Jul 2018 19:21:37 -0300 Subject: [skip ci] another attempt --- npc/functions/mobpoint.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'npc/functions/mobpoint.txt') 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; } -- cgit v1.2.3-60-g2f50