summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/014-4/kamelot.txt2
-rw-r--r--npc/042-0/arthur.txt11
2 files changed, 11 insertions, 2 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt
index 2bdcff38d..bd271a161 100644
--- a/npc/014-4/kamelot.txt
+++ b/npc/014-4/kamelot.txt
@@ -35,7 +35,7 @@ OnTouch:
end;
// Not in a guild: Gate is sealed (MK might be excluded as well)
- if (getcharid(2) <= 0) {
+ if (getcharid(2) < 1) {
dispbottom l("The gates are firmly shut. A warning is on the door, \"DO NOT ENTER. Guild Only.\"");
end;
}
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;