diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-23 14:13:22 -0300 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-23 14:13:22 -0300 |
commit | c9e22fc3b8e88c7aab107152b2e379b4a5018720 (patch) | |
tree | f83959bee8f44c54985f3aa3e030ce75b83eb688 /npc/003-1 | |
parent | 6bfa33bb2d7e01ff351488510d96f14dcde08eb5 (diff) | |
download | serverdata-c9e22fc3b8e88c7aab107152b2e379b4a5018720.tar.gz serverdata-c9e22fc3b8e88c7aab107152b2e379b4a5018720.tar.bz2 serverdata-c9e22fc3b8e88c7aab107152b2e379b4a5018720.tar.xz serverdata-c9e22fc3b8e88c7aab107152b2e379b4a5018720.zip |
Hall of Fame works, it is just... not what I wanted it to be.
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/michel.txt | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt index a4a6c9464..793a16143 100644 --- a/npc/003-1/michel.txt +++ b/npc/003-1/michel.txt @@ -4,16 +4,32 @@ 003-1,89,109,0 script Michel NPC_BACCHUS,{ mesn; - mesq l("All hail the ones who proven their worth to the High Council!"); + mesq l("All hail the ones who proven their worth before the whole Alliance!"); mes ""; - .@nb = query_sql("select name, fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame); + .@nb = query_sql("select name, karma from `char` ORDER BY karma DESC LIMIT 5", .@name$, .@fame); mes l("##BHall Of Fame: TOP5##b"); - mes l("1."+.@name$[0]+"("+.@fame[0]+")"); - mes l("2."+.@name$[1]+"("+.@fame[1]+")"); - mes l("3."+.@name$[2]+"("+.@fame[2]+")"); - mes l("4."+.@name$[3]+"("+.@fame[3]+")"); - mes l("5."+.@name$[4]+"("+.@fame[4]+")"); + mes("1."+.@name$[0]+" ("+.@fame[0]+")"); + mes("2."+.@name$[1]+" ("+.@fame[1]+")"); + mes("3."+.@name$[2]+" ("+.@fame[2]+")"); + mes("4."+.@name$[3]+" ("+.@fame[3]+")"); + mes("5."+.@name$[4]+" ("+.@fame[4]+")"); + + mes ""; + if (getgmlevel()) mes "##BGM Information##b"; + if (getgmlevel()) mes "We are currently relying in Karma to generate this Hall Of Fame."; + if (getgmlevel()) mes ""; + if (getgmlevel()) mes "##B Manual Edition ##b"; + if (getgmlevel()) mes "To reliably change Karma values, you must use @set Karma."; + if (getgmlevel()) mes "But before, check on MySQL the previous karma value, because this command overrides it."; + if (getgmlevel()) mes "Therefore, it is advised to DON'T change this by hand."; + if (getgmlevel()) mes ""; + if (getgmlevel()) mes "##B Scripting Edition ##b"; + if (getgmlevel()) mes "Is known to work. This hall of fame will need a few minutes to update itself."; + if (getgmlevel()) mes ""; + if (getgmlevel()) mes "##B Technical Notes ##b"; + if (getgmlevel()) mes "In future we may start Fame field directly (but it is not displayed on client, thus, we decided to use Karma)."; + //if (getgmlevel()) set Karma, Karma + 5; close; OnInit: |