From 10225ad351574621a1f48d346bdd16b3ee74b5f3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 20 Oct 2019 18:23:53 -0300 Subject: getguildpostitle was fixed so use it instead (thanks gumi) --- npc/guilds/management.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'npc/guilds') diff --git a/npc/guilds/management.txt b/npc/guilds/management.txt index 02cff3309..af7c16061 100644 --- a/npc/guilds/management.txt +++ b/npc/guilds/management.txt @@ -33,7 +33,7 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{ // mesc l("The average player level is @@", getguildavg(.@gid)); //mesc l("Your position on the guild: @@", getguildrole(.@gid, getcharid(3), true)); mesc l("You are the guild's \"%s\", and you contribute with %02d%% EXP.", - getguildrole(.@gid, getcharid(3), true),//getguildpostitle(.@gid, .@pos), + getguildpostitle(.@gid, .@pos), getguildpostax(.@gid, .@pos)); //getguildpostitle(.@gid, .@pos) @@ -66,8 +66,7 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{ .@idx=0+@menuret; if (.@idx < 0) return; - //mesc l("The guild's \"%s\" currently contribute with %02d%% EXP.", getguildpostitle(.@gid, .@idx), getguildpostax(.@gid, .@idx)); - mesc l("The guild's \"%s\" currently contribute with %02d%% EXP.", getguildrole(.@gid, getcharid(3), true), getguildpostax(.@gid, .@idx)); + mesc l("The guild's \"%s\" currently contribute with %02d%% EXP.", getguildpostitle(.@gid, .@pos), getguildpostax(.@gid, .@idx)); mesc l("Please write how much in percent is EXP Tax for member (range: 0~50)"), 1; input .@exptax; if (.@exptax < 0 || .@exptax > 50) -- cgit v1.2.3-70-g09d2