From 9402f60bd66dc24b406906d97e4164da33a0c78d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 29 May 2020 19:21:07 -0300 Subject: Prevent a bug where players could go back to Kamelot --- npc/042-0/arthur.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt index 1f8622e11..f6f622b6e 100644 --- a/npc/042-0/arthur.txt +++ b/npc/042-0/arthur.txt @@ -319,6 +319,14 @@ OnInstanceInit: OnTouch: .@g=getcharid(2); + + // Quest already finished. + if ($KAMELOT_QUEST[.@g] & 64) { + dispbottom l("I should talk to King Arthur."); + end; + } + + // Quest (not yet) started if ($KAMELOT_QUEST[.@g] & 1) { warp "042-1@"+.@g, 55, 99; } else { -- cgit v1.2.3-60-g2f50