From 64d3f000649ca78616ac1038e0490fe8e855b314 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 May 2019 18:56:42 -0300 Subject: New analytical data: Monsters and Players killed. --- npc/functions/mobpoint.txt | 2 ++ npc/functions/news.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'npc/functions') 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); diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 63283a788..7dabd24bd 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -344,6 +344,8 @@ function script Journalman { l("Beware the Terranite! Only @@ would be brave enough to challenge them!", $MOST_HEROIC$), l("Terrible manaquake hits the whole world, causing dramatic changes!"), l("Green Wars project says that @@ trees were planted by adventurers on the world!", $TREE_PLANTED), + l("The Team For A Better PvP says that @@ players were killed in fair matches!", $PLAYERS_KILLED), + l("The Alliance says that @@ monsters have been slain by players since 2019-05-24!", $MONSTERS_KILLED), l("All hail @@ and Andrei Sakar, heroes of the world!", $MOST_HEROIC$)); mesn getarg(0); mesq l("Bonjour! I am @@, and I am from the Press! Read the latest news with me!", getarg(0)); -- cgit v1.2.3-60-g2f50