summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/005-3/barrel.txt6
2 files changed, 10 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index 1bd0a2d63..f80fe4eee 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -186,6 +186,10 @@ quest_db: (
Name: "CandorQuest_Apana"
},
{
+ Id: 40
+ Name: "CandorQuest_Barrel"
+},
+{
Id: 1000
Name: "Test_testing1"
},
diff --git a/npc/005-3/barrel.txt b/npc/005-3/barrel.txt
index 721ec6f97..a60cc55f0 100644
--- a/npc/005-3/barrel.txt
+++ b/npc/005-3/barrel.txt
@@ -13,6 +13,12 @@
// 3 Bomb Defused.
// 4 Quest Completed.
+// TODO FIXME: KNOWN BUG
+// It is a known bug that using .questCheck and .questState is ABSOLUTELY WRONG
+// A NPC variable affects the whole server, lasting until server restart.
+// Therefore, by using "." variables, it will only work at localhosts.
+// TODO FIXME: KNOWN BUG
+
function script CheckBarrel {
.questCheck = .questCheck + 1;
areamonster "005-3", 24, 34, 45, 42, "Cave Maggot", 1027, 1;