summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-26 13:30:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-26 13:30:20 -0300
commit90da485b598c1ae8c6307e95c872eb67353f7579 (patch)
treef62aca19a65e6bf77f68717fe338c3a5d2fc69f7 /npc/functions
parent508496d7e9a688164e3c1f81efbe1129a707f41a (diff)
downloadserverdata-90da485b598c1ae8c6307e95c872eb67353f7579.tar.gz
serverdata-90da485b598c1ae8c6307e95c872eb67353f7579.tar.bz2
serverdata-90da485b598c1ae8c6307e95c872eb67353f7579.tar.xz
serverdata-90da485b598c1ae8c6307e95c872eb67353f7579.zip
Track more information, disclose more information, but hide some private info.
Monster Points, Total Gold, upgrades available, etc. are too intimate.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobhunter.txt4
-rw-r--r--npc/functions/mobpoint.txt1
2 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index 1a96a2f60..b38fea25d 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -161,6 +161,10 @@ function script GHQ_GetRewardsOnMilestone {
Zeny=Zeny+.@bhp*25; // Maggot: 10.000 gp. That's plenty.
getexp .@bhp*BaseLevel, .@bhp; // The monster hp, once again, drastically affects
+ // Achievements
+ if (!GHQ_WINNER)
+ GHQ_WINNER = gettimetick(2);
+
// Grand Prize
switch (.@monsterId) {
case Pinkie:
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 2139c02df..53ec1a91c 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -53,6 +53,7 @@ OnUnlock:
OnNPCKillEvent:
$MONSTERS_KILLED+=1;
+ MONSTERS_KILLED+=1;
// Remove undue Job exp
// The check is probably correct, but setparam is not working =/