diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-7/celestia_bossfight.txt | 2 | ||||
-rw-r--r-- | npc/018-2-2/main.txt | 2 | ||||
-rw-r--r-- | npc/025-1/phoenix.txt | 2 | ||||
-rw-r--r-- | npc/items/books.txt | 10 |
4 files changed, 16 insertions, 0 deletions
diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt index 5140d0cde..e67ec4f8d 100644 --- a/npc/001-7/celestia_bossfight.txt +++ b/npc/001-7/celestia_bossfight.txt @@ -40,6 +40,8 @@ L_GoHome: close; L_Survivor: + if (!YETIKING_WINNER) + YETIKING_WINNER = gettimetick(2); if ($YETIKING_WINNER$ == "") { $YETIKING_WINNER$=strcharinfo(0); channelmes("#world", $YETIKING_WINNER$+" is the first player to finish Yeti King Quest!! GG, dude! %%N"); diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index 8563d1031..7ba051e38 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -58,6 +58,8 @@ OnExpertBossKilled: OnMasterBossKilled: if (!playerattached()) end; + if (!HEROESHOLD_WINNER) + HEROESHOLD_WINNER = gettimetick(2); if ($HEROESHOLD_WINNER$ == "") { $HEROESHOLD_WINNER$=strcharinfo(0); channelmes("#world", $HEROESHOLD_WINNER$+" is the first player to finish HEROES HOLD Master Dungeon!! GG, dude! %%N"); diff --git a/npc/025-1/phoenix.txt b/npc/025-1/phoenix.txt index 5cc7df6d1..ce0478274 100644 --- a/npc/025-1/phoenix.txt +++ b/npc/025-1/phoenix.txt @@ -122,6 +122,8 @@ LOCATION$="Candor"; kamibroadcast(strcharinfo(0)+" has been reborn."); // Maybe you were THE FIRST + if (!REBIRTH_WINNER) + REBIRTH_WINNER = gettimetick(2); if ($REBIRTH_WINNER$ == "") { $REBIRTH_WINNER$=strcharinfo(0); channelmes("#world", $REBIRTH_WINNER$+" is the first player to REBIRTH!! They are so OP! %%N"); diff --git a/npc/items/books.txt b/npc/items/books.txt index abfca89c0..5d68ac7e2 100644 --- a/npc/items/books.txt +++ b/npc/items/books.txt @@ -230,6 +230,16 @@ function myself { mesc l("Mercenary Quests completed: %s", fnum(MERCENARY_DAILYQUEST)); mesc l("Doppelganger Waves Won: %s", fnum(UDTRANK)); mesc l("Easter Eggs found: %d", getq3(General_EasterEggs)); + dnext; + + + mes ".:: " + l("Personal Feats") + " ::."; + if (YETIKING_WINNER) + mesc l("Cleared the Yeti King Challenge %s ago", FuzzyTime(YETIKING_WINNER)); + if (HEROESHOLD_WINNER) + mesc l("Cleared Heroes Hold %s ago", FuzzyTime(YETIKING_WINNER)); + if (REBIRTH_WINNER) + mesc l("First reborn %s ago", FuzzyTime(REBIRTH_WINNER)); // TODO: Total players invited to ML // TODO: Most used skill //mes ".:: " + l("Achievements") + " ::."; |