summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-23 19:21:37 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-23 19:21:37 -0300
commit29861a91d835dd3689aa9bd6ac1ba829b5e24f35 (patch)
tree636001cd466f9bbe879792de8fafb43fea49304f /npc/functions
parent80a22de24c6c88e6f4159fd291c7c2c2bbdcb525 (diff)
downloadserverdata-29861a91d835dd3689aa9bd6ac1ba829b5e24f35.tar.gz
serverdata-29861a91d835dd3689aa9bd6ac1ba829b5e24f35.tar.bz2
serverdata-29861a91d835dd3689aa9bd6ac1ba829b5e24f35.tar.xz
serverdata-29861a91d835dd3689aa9bd6ac1ba829b5e24f35.zip
[skip ci] another attempt
Diffstat (limited to 'npc/functions')
-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;
}