summaryrefslogtreecommitdiff
path: root/npc/014-4/kamelot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-4/kamelot.txt')
-rw-r--r--npc/014-4/kamelot.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt
index 760b609a8..090ad6501 100644
--- a/npc/014-4/kamelot.txt
+++ b/npc/014-4/kamelot.txt
@@ -61,16 +61,17 @@ OnTouch:
end;
}
- // Aurora Event Framework Handler
- if ($EVENT$ == "Kamelot") {
- FYE_Kamelot();
- }
-
// Save your GID for reference
.@g=getcharid(2);
// Quest already started
if ($KAMELOT_QUEST[.@g] & 1) {
+
+ // Aurora Event Framework Handler
+ if ($EVENT$ == "Kamelot") {
+ FYE_Kamelot();
+ }
+
// Quest started but Cooldown expired
// Needs to cleanup - wipe all variables
if ($KAMELOT_COOLDOWN[.@g] < gettimeparam(GETTIME_WEEKDAY)) {