summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-29 06:25:51 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-29 06:25:51 -0300
commit6d031c90131f5e878c52383aaa5971eb2729c33c (patch)
treebc4a78aa1419140daa3022ec3977ad4a45daedf3
parent3cdd7d49c98af924619051d1952b34a4d5e3a08b (diff)
downloadserverdata-6d031c90131f5e878c52383aaa5971eb2729c33c.tar.gz
serverdata-6d031c90131f5e878c52383aaa5971eb2729c33c.tar.bz2
serverdata-6d031c90131f5e878c52383aaa5971eb2729c33c.tar.xz
serverdata-6d031c90131f5e878c52383aaa5971eb2729c33c.zip
Fix Guild Logs bug
-rw-r--r--npc/guilds/logs.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/npc/guilds/logs.txt b/npc/guilds/logs.txt
index 2af2e2078..142b7d6c9 100644
--- a/npc/guilds/logs.txt
+++ b/npc/guilds/logs.txt
@@ -86,15 +86,14 @@ guilds,47,39,0 script Guild Logs NPC_NO_SPRITE,{
if (.@s == 0)
mesc l("Your guild doesn't knows any recipes!"), 1;
- if (getguildrole(.@gid, getcharid(3)) > GPOS_VICELEADER)
- close;
+ .@role=getguildrole(.@gid, getcharid(3));
do
{
select
l("Do nothing"),
rif(strcharinfo(0) == getguildmaster(.@gid), l("Raise max members")),
rif(.@role <= GPOS_MEMBER, l("Learn individual guild skills")),
- l("Learn Alchemy Recipes");
+ rif(.@role <= GPOS_VICELEADER, l("Learn Alchemy Recipes"));
mes "";
switch (@menu) {