summaryrefslogtreecommitdiff
path: root/npc/functions/mobpoint.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-23 18:56:42 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-23 18:56:42 -0300
commit64d3f000649ca78616ac1038e0490fe8e855b314 (patch)
tree799ca4e9d32eb594d4503c76e3a83bdc8dfc0344 /npc/functions/mobpoint.txt
parent10dc6a79dbb9c2ab246e958b97ddc206d9ac9cf2 (diff)
downloadserverdata-64d3f000649ca78616ac1038e0490fe8e855b314.tar.gz
serverdata-64d3f000649ca78616ac1038e0490fe8e855b314.tar.bz2
serverdata-64d3f000649ca78616ac1038e0490fe8e855b314.tar.xz
serverdata-64d3f000649ca78616ac1038e0490fe8e855b314.zip
New analytical data: Monsters and Players killed.
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r--npc/functions/mobpoint.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index c29e4462c..8b88c1cb2 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -25,6 +25,7 @@ OnUnlock:
end;
OnNPCKillEvent:
+ $MONSTERS_KILLED+=1;
if (killedrid == MonsterKing) {
announce "An illusionary monster king was killed.", bc_all | bc_pc;
getexp min(641500, BaseLevel**3), 0;
@@ -48,6 +49,7 @@ OnNPCKillEvent:
// Only a few maps will give you experience for PK: Tulimshar's Guards Arena,
// Frostia Imperial PVP Arena, Call Of Dusty, Arena Quirino Voraz.
OnPCKillEvent:
+ $PLAYERS_KILLED+=1;
// killedrid
.@m$=getmap();
.@bxp=readparam(BaseLevel, killedrid);