diff options
Diffstat (limited to 'npc/018-6-3/main.txt')
-rw-r--r-- | npc/018-6-3/main.txt | 21 |
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; |