From ed185c63c1662b51d70b0c4e80946b7fb990882d Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Fri, 24 Apr 2020 23:54:55 -0300
Subject: King Arthur now is locked to Guild Master and Guild Vice Leaders.
 Normal members will be warned.

---
 npc/042-0/arthur.txt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'npc/042-0')

diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index 562148f61..78894ad14 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -6,10 +6,19 @@
 //  Part of Kamelot Guild Dungeon
 
 042-0,58,28,0	script	King Arthur	NPC_KING_ARTHUR,{
-    npctalkonce l("Don't bore me.");
+    .@g=getcharid(2);
+    .@pos=getguildrole(.@g, getcharid(3));
+    if (.@pos > GPOS_VICELEADER) goto L_Refusal;
+    npctalk l("Don't bore me.");
     end;
 
 
+L_Refusal:
+    mesc l("This man is THE LEGENDARY KING ARTHUR!");
+    mes "";
+    mesc l("I better leave talking to him to the guild Vice Leaders and Master.");
+    close;
+
 OnInit:
     .distance=4;
     .sex=G_MALE;
-- 
cgit v1.2.3-70-g09d2