summaryrefslogtreecommitdiff
path: root/world/map/npc/018-3
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/018-3')
-rw-r--r--world/map/npc/018-3/_mobs.txt3
-rw-r--r--world/map/npc/018-3/bookcase.txt3
-rw-r--r--world/map/npc/018-3/evil-obelisk.txt3
-rw-r--r--world/map/npc/018-3/sword.txt3
4 files changed, 8 insertions, 4 deletions
diff --git a/world/map/npc/018-3/_mobs.txt b/world/map/npc/018-3/_mobs.txt
index 51689cd4..d3fbcf92 100644
--- a/world/map/npc/018-3/_mobs.txt
+++ b/world/map/npc/018-3/_mobs.txt
@@ -28,7 +28,8 @@
018-3.gat,68,101,5,4|monster|Snake|1010,4,60000,30000,Mob018-3::On1010
-018-3.gat,0,0,0|script|Mob018-3|-1,{
+018-3.gat,0,0,0|script|Mob018-3|-1,
+{
On1002:
set @mobID, 1002;
callfunc "MobPoints";
diff --git a/world/map/npc/018-3/bookcase.txt b/world/map/npc/018-3/bookcase.txt
index 72716754..f30ff1da 100644
--- a/world/map/npc/018-3/bookcase.txt
+++ b/world/map/npc/018-3/bookcase.txt
@@ -1,6 +1,7 @@
//
-018-3.gat,75,123,0|script|#DemonMineBookcase1|400,{
+018-3.gat,75,123,0|script|#DemonMineBookcase1|400,
+{
callfunc "ClearVariables";
set @state, ((QUEST_Hurnscald & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
diff --git a/world/map/npc/018-3/evil-obelisk.txt b/world/map/npc/018-3/evil-obelisk.txt
index aec1345b..85f9ca20 100644
--- a/world/map/npc/018-3/evil-obelisk.txt
+++ b/world/map/npc/018-3/evil-obelisk.txt
@@ -1,6 +1,7 @@
//
-018-3.gat,67,28,0|script|Evil Obelisk|185,{
+018-3.gat,67,28,0|script|Evil Obelisk|185,
+{
callfunc "ClearVariables";
set @map$, "018-3.gat";
set @x0, 56;
diff --git a/world/map/npc/018-3/sword.txt b/world/map/npc/018-3/sword.txt
index 703890f3..8df51f67 100644
--- a/world/map/npc/018-3/sword.txt
+++ b/world/map/npc/018-3/sword.txt
@@ -1,4 +1,5 @@
-018-3.gat,71,127,0|script|#DemonSword#_M|400,{
+018-3.gat,71,127,0|script|#DemonSword#_M|400,
+{
if (getskilllv(SKILL_MAGIC))
goto L_message;
close;