summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-20 11:22:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-20 11:22:02 -0300
commit39bfb24ed7396d8d4be284b21c9bbe385825f56e (patch)
treebabf67778744455f8f5231043d132d17fd07db66
parent4381a0d925cc27a3ead43bca27d019b626bfc4a4 (diff)
downloadserverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.gz
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.bz2
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.xz
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.zip
Format number of Guild XP to be easier to read
-rw-r--r--npc/commands/ucp.txt4
-rw-r--r--npc/guilds/management.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 503d9f27b..746c83da5 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -70,9 +70,9 @@ function script UserCtrlPanel {
mesc (".:: "+getguildname(.@gid)+" ::."), 1;
mesc l("Guild Master: @@", getguildmaster(.@gid)), 3;
if (getguildnxp(.@gid) > 0)
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), getguildnxp(.@gid));
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), format_number(getguildexp(.@gid)), format_number(getguildnxp(.@gid)));
else
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), "???");
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", format_number(getguildlvl(.@gid)), getguildexp(.@gid), "???");
mes "";
mesc l("Average player level: @@", getguildavg(.@gid));
diff --git a/npc/guilds/management.txt b/npc/guilds/management.txt
index cd1f5ae78..1bb441ef6 100644
--- a/npc/guilds/management.txt
+++ b/npc/guilds/management.txt
@@ -10,9 +10,9 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{
mesc (".:: "+getguildname(.@gid)+" ::."), 1;
mesc l("Guild Master: @@", getguildmaster(.@gid)), 3;
if (getguildnxp(.@gid) > 0)
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), getguildnxp(.@gid));
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), format_number(getguildexp(.@gid)), format_number(getguildnxp(.@gid)));
else
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), "???");
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), format_number(getguildexp(.@gid)), "???");
// mesc l("The average player level is @@", getguildavg(.@gid));
mesc l("Your position on the guild: @@", getguildrole(.@gid, getcharid(3), true));