summaryrefslogtreecommitdiff
path: root/npc/018-6-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-04 21:19:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-04 21:19:02 -0300
commitff5b5e2d43d36420ae74bf4a9cd71206d0bbed8b (patch)
tree69b42f7fd282fcd215244a35afca5b95096acab6 /npc/018-6-3
parent178277af3f4f631db437c0ec7e601d1497b448fb (diff)
downloadserverdata-ff5b5e2d43d36420ae74bf4a9cd71206d0bbed8b.tar.gz
serverdata-ff5b5e2d43d36420ae74bf4a9cd71206d0bbed8b.tar.bz2
serverdata-ff5b5e2d43d36420ae74bf4a9cd71206d0bbed8b.tar.xz
serverdata-ff5b5e2d43d36420ae74bf4a9cd71206d0bbed8b.zip
Placeholder for Xanthem
Diffstat (limited to 'npc/018-6-3')
-rw-r--r--npc/018-6-3/main.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt
index 73032ac9f..4d0553bfa 100644
--- a/npc/018-6-3/main.txt
+++ b/npc/018-6-3/main.txt
@@ -19,6 +19,11 @@ function script 01863_RelevanceCheck {
return true;
}
+// TODO: filler
+function script 01863_DisableAllWarps {
+ return;
+}
+
// Main Controller for Instanced maps
018-6-3,0,0,0 script #01863_InstCtrl NPC_HIDDEN,{
end;
@@ -172,4 +177,43 @@ OnKill256:
}
+////////// Warp System below this file
+018-6-3,0,0,0 script #01863_fromOuttoNC NPC_SUMMONING_CIRC,0,0,{
+ dispbottom l("I should be prepared before walking on this");
+ end;
+
+OnTouch:
+ .@q=getq(LoFQuest_Barbara);
+ .@q2=getq2(LoFQuest_Barbara);
+ .@q3=getq3(LoFQuest_Barbara);
+ if (.@q != 3)
+ Exception("ERROR, INVALID WARP", RB_DEFAULT|RB_ISFATAL);
+
+ // Compulsory call
+ 01863_DisableAllWarps();
+
+ // Warp you to next room coordinates
+ slide 0, 0;
+
+ // Check if a boss fight is needed or open the warps
+ // This room is 1 (rooms are 1, 2, 4, 8, 16...)
+ if (01863_RelevanceCheck(1)) {
+ // Copy here the code of OnBossNC
+ //doevent "#01863_InstCtrl::OnBossNC";
+ BossRoom(4, 77, 65, 103, 76);
+ } else {
+ // enablenpc instance_npcname("#01863_fromNCtoNW");
+ // enablenpc instance_npcname("#01863_fromNCtoNE");
+ debugmes "filler";
+ }
+ end;
+
+
+OnInit:
+ disablenpc .name$;
+ end;
+OnInstanceInit:
+ disablenpc instance_npcname(.name$);
+ end;
+}