diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-06 23:22:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-06 23:22:20 -0300 |
commit | a33edf8988c964cbee0cdcf640a8e1d7345b0611 (patch) | |
tree | 09cf0882305995bbeb69ec26f516828dc975f7f9 /npc/items | |
parent | 013b7fe5d819363c66b2b1728e1d1e9aa8317650 (diff) | |
download | serverdata-a33edf8988c964cbee0cdcf640a8e1d7345b0611.tar.gz serverdata-a33edf8988c964cbee0cdcf640a8e1d7345b0611.tar.bz2 serverdata-a33edf8988c964cbee0cdcf640a8e1d7345b0611.tar.xz serverdata-a33edf8988c964cbee0cdcf640a8e1d7345b0611.zip |
Scry the records
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/books.txt | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt index 696ae801a..e65dd9889 100644 --- a/npc/items/books.txt +++ b/npc/items/books.txt @@ -445,19 +445,31 @@ function myself { mesc l("Total time AFK'ed in Tulimshar: %d hours and %d minutes", .@afk_h, .@afk_m); dnext; - // FIXME - if (.@who != .@why) return 0; + /* Records Data */ + detachrid(); + attachrid(.@who); + .@candor = CRAZYPOINTS; + .@bloodbath = gettimetick(2)+SCANDORPTS; + .@ctf = CAPTURE_FLAG; + .@cod = getq2(LoFQuest_COD); + .@merc = MERCENARY_DAILYQUEST; + .@udt = UDTRANK; + .@egg = getq3(General_EasterEggs); + detachrid(); + attachrid(.@why); mes ".:: " + l("Personal Records") + " ::."; - mesc l("Candor Battle Score: %s", fnum(CRAZYPOINTS)); - mesc l("Candor Bloodbath Score: %s", FuzzyTime(gettimetick(2)+SCANDORPTS)); - mesc l("Times won Capture the Flag: %s", fnum(CAPTURE_FLAG)); - mesc l("Times won Call of Dusty: %s", fnum(getq2(LoFQuest_COD))); - 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)); + mesc l("Candor Battle Score: %s", fnum(.@candor)); + mesc l("Candor Bloodbath Score: %s", FuzzyTime(.@bloodbath)); + mesc l("Times won Capture the Flag: %s", fnum(.@ctf)); + mesc l("Times won Call of Dusty: %s", fnum(.@cod)); + mesc l("Mercenary Quests completed: %s", fnum(.@merc)); + mesc l("Doppelganger Waves Won: %s", fnum(.@udt)); + mesc l("Easter Eggs found: %d", .@egg); dnext; + // FIXME + if (.@who != .@why) return 0; mes ".:: " + l("Personal Feats") + " ::."; |