summaryrefslogtreecommitdiff
path: root/npc/023-3-1/logic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-17 23:34:18 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-17 23:34:18 -0300
commit3e475a0ae0be34db523fbd371f24ceecc98b403e (patch)
tree54c2de9a842ce03acb1e5d055fee5ccc669ec5c9 /npc/023-3-1/logic.txt
parentc1f3b5f1e53aa4ea53582c29eb6febeda1beab85 (diff)
downloadserverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.gz
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.bz2
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.xz
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.zip
Ambush at Monster King's Original Throne Room
Diffstat (limited to 'npc/023-3-1/logic.txt')
-rw-r--r--npc/023-3-1/logic.txt32
1 files changed, 30 insertions, 2 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index 540c19c91..850e0f6dc 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -11,7 +11,7 @@
OnTouch:
.@n=getq(General_Narrator);
- .@q=getq2(FrostiaQuest_Homunculus);
+ .@q=getq(FrostiaQuest_Homunculus);
// Cheater Detected
if (.@n < 15) {
warp "Save", 0, 0;
@@ -32,7 +32,7 @@ OnTouch:
end;
OnTouch:
.@n=getq(General_Narrator);
- .@q=getq2(FrostiaQuest_Homunculus);
+ .@q=getq3(FrostiaQuest_Homunculus);
// Cheater Detected
if (.@n < 15) {
warp "Save", 0, 0;
@@ -47,4 +47,32 @@ OnTouch:
warp .@mapn$, 59, 45;
end;
}
+// To the traps!
+
+023-3-1,45,63,0 script #Ambush02331 NPC_HIDDEN,10,0,{
+OnTouch:
+ .@q=getq3(FrostiaQuest_Homunculus);
+ if (!.@q) {
+ .@m$=getmap();
+ .@mobID1=monster(.@m$, 43, 55, l("Assassin"), HoodedNinja, 1);
+ .@mobID2=monster(.@m$, 48, 55, l("Assassin"), HoodedNinja, 1);
+ monster(.@m$, 43, 60, l("Assassin"), Assassin, 1);
+ monster(.@m$, 43, 65, l("Assassin"), Assassin, 1);
+ monster(.@m$, 48, 60, l("Assassin"), Assassin, 1);
+ monster(.@m$, 48, 65, l("Assassin"), Assassin, 1);
+
+ if (any(true,false))
+ unitalk(.@mobID1, l("Kill 'em!"));
+ else
+ unitalk(.@mobID2, l("Kill 'em!"));
+
+ setq3 FrostiaQuest_Homunculus, 1;
+ }
+ end;
+}
+
+// Main event core
+
+
+