summaryrefslogtreecommitdiff
path: root/npc/018-6-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 17:20:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 17:20:40 -0300
commite93c9c47dc85070dab5a7958dd60f15f30d48741 (patch)
tree008764d0ed2c7270a5342d32dd13aa7f9c1ec206 /npc/018-6-3
parent38ffb339cfd4c2488337df1766c62987f022d684 (diff)
downloadserverdata-e93c9c47dc85070dab5a7958dd60f15f30d48741.tar.gz
serverdata-e93c9c47dc85070dab5a7958dd60f15f30d48741.tar.bz2
serverdata-e93c9c47dc85070dab5a7958dd60f15f30d48741.tar.xz
serverdata-e93c9c47dc85070dab5a7958dd60f15f30d48741.zip
Experimental placeholders
Diffstat (limited to 'npc/018-6-3')
-rw-r--r--npc/018-6-3/main.txt21
1 files changed, 19 insertions, 2 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt
index 54ee982a5..19c5feafc 100644
--- a/npc/018-6-3/main.txt
+++ b/npc/018-6-3/main.txt
@@ -194,6 +194,24 @@ L_Room128:
}
end;
+OnFinalRoom:
+// Room: 74,83 ~ 106,97
+ .@x1=74;
+ .@y1=83;
+ .@x2=106;
+ .@y2=97;
+ .@id=256;
+ mapannounce getmap(), l("BOSS FIGHT!"), bc_map|bc_pc;
+ // TODO the boss: A night dragon or a Black Cat?
+ // Both summon Energy Balls against players
+ // Night dragon summoning EB/Black Cat depending on player style?
+ .@mi=FafiDragon; // TODO
+ .@boss=monster(.@m$, 90, 89, strmobinfo(1, .@mi), .@mi, 1, instance_npcname(.name$)+"::OnKillBoss");
+
+ // Spawn reinforcements based on difficulty
+ AreaMonsterB(getmap(), .@x1, .@y1, .@x2, .@y2, MagicGoblin, (@difficulty_modulus ? 4 : 2));
+ end;
+
// Kill boss will use setq3 and also erase any remaining monster
// Then it'll cast again the room event to enable the warps.
OnKill1:
@@ -885,7 +903,6 @@ OnInstanceInit:
l("Break it!"),
l("Leave it alone!");
mes "";
- @difficulty_modulus=10;
switch (@menu) {
case 1:
mesc l("Curiously, you try to touch the Mana Stone.");
@@ -901,7 +918,7 @@ OnInstanceInit:
if (askyesno() == ASK_NO)
close;
mes "";
- @difficulty_modulus+=10;
+ @difficulty_modulus=true;
break;
default:
close;