summaryrefslogtreecommitdiff
path: root/npc/guilds
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guilds')
-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) {