summaryrefslogtreecommitdiff
path: root/npc/042-0/arthur.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-24 23:54:55 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-24 23:54:55 -0300
commited185c63c1662b51d70b0c4e80946b7fb990882d (patch)
tree773e0c23a04d8af00077bd026104305c8ab25fdf /npc/042-0/arthur.txt
parent995a69a6a8c3f2068e008920619f00276803c8b4 (diff)
downloadserverdata-ed185c63c1662b51d70b0c4e80946b7fb990882d.tar.gz
serverdata-ed185c63c1662b51d70b0c4e80946b7fb990882d.tar.bz2
serverdata-ed185c63c1662b51d70b0c4e80946b7fb990882d.tar.xz
serverdata-ed185c63c1662b51d70b0c4e80946b7fb990882d.zip
King Arthur now is locked to Guild Master and Guild Vice Leaders.
Normal members will be warned.
Diffstat (limited to 'npc/042-0/arthur.txt')
-rw-r--r--npc/042-0/arthur.txt11
1 files changed, 10 insertions, 1 deletions
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;