diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:56:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:56:36 -0300 |
commit | 63ef3f40b1831ee76d95f65a5897da2dd5ba94a5 (patch) | |
tree | 948c587c020c08262c52af87dcd50040c3d9de09 | |
parent | fad04ba82736ea807a3b7d377846597694eb7fe8 (diff) | |
download | serverdata-63ef3f40b1831ee76d95f65a5897da2dd5ba94a5.tar.gz serverdata-63ef3f40b1831ee76d95f65a5897da2dd5ba94a5.tar.bz2 serverdata-63ef3f40b1831ee76d95f65a5897da2dd5ba94a5.tar.xz serverdata-63ef3f40b1831ee76d95f65a5897da2dd5ba94a5.zip |
Prepare the monster scripts for the Forgotten Hall
-rw-r--r-- | npc/018-6-0/main.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt index 2d30b3f48..8282af87f 100644 --- a/npc/018-6-0/main.txt +++ b/npc/018-6-0/main.txt @@ -4,6 +4,65 @@ // Description: // Controls Forgotten Chamber +// Main Controller for Instanced maps +018-6-1,0,0,0 script #01862_InstCtrl NPC_HIDDEN,{ + end; + +// Map, x, y, width, height, mob, amount +function AreaMonsterB { + .@m$=getarg(0); + .@x1=getarg(1); + .@x2=.@x1+getarg(3); + .@y1=getarg(2); + .@y2=.@y1+getarg(4); + .@mi=getarg(5); + .@am=getarg(6); + areamonster(.@m$, .@x1, .@y1, .@x2, .@y2, strmobinfo(1, .@mi), .@mi, .@am); + //, instance_npcname(.name$)+"::OnKill"+.@mi); + return; +} + +// Level 40~50 (70 mobs) +OnLevel1: + killmonsterall(getmap()); + AreaMonsterB(getmap(), 50, 20, 100, 140, Snake, 10); + AreaMonsterB(getmap(), 50, 20, 100, 140, BlackSlime, 20); + AreaMonsterB(getmap(), 50, 20, 100, 140, AlphaMouboo, 5); + AreaMonsterB(getmap(), 50, 20, 100, 140, Wolvern, 5); + AreaMonsterB(getmap(), 50, 20, 100, 140, DarkLizard, 20); + AreaMonsterB(getmap(), 50, 20, 100, 140, BlackScorpion, 10); + end; + +// Level 50~60 (65 mobs) +OnLevel2: + killmonsterall(getmap()); + AreaMonsterB(getmap(), 50, 20, 100, 140, BlackScorpion, 20); + AreaMonsterB(getmap(), 50, 20, 100, 140, DustRifle, 5); + AreaMonsterB(getmap(), 50, 20, 100, 140, MountainSnake, 10); + AreaMonsterB(getmap(), 50, 20, 100, 140, HoodedNinja, 15); + AreaMonsterB(getmap(), 50, 20, 100, 140, FallenGuard2, 15); + end; + +// Level 60~70 (60 mobs) + 10 passive +OnLevel3: + killmonsterall(getmap()); + AreaMonsterB(getmap(), 50, 20, 100, 140, FallenGuard2, 10); + AreaMonsterB(getmap(), 50, 20, 100, 140, WickedMushroom, 25); + AreaMonsterB(getmap(), 50, 20, 100, 140, Archant, 25); + AreaMonsterB(getmap(), 50, 20, 100, 140, Crafty, 10); + end; + +// Level 60~100 (45 mobs) +OnLevel4: + killmonsterall(getmap()); + AreaMonsterB(getmap(), 50, 20, 100, 140, Archant, 5); + AreaMonsterB(getmap(), 50, 20, 100, 140, Forain, 20); + AreaMonsterB(getmap(), 50, 20, 100, 140, GreenDragon, 10); + AreaMonsterB(getmap(), 50, 20, 100, 140, Terranite, 5); + AreaMonsterB(getmap(), 50, 20, 100, 140, GoboBear, 5); + end; +} + ///////////////////////////// 018-6-0,90,67,0 script #ToForgottenShrine NPC_SUMMONING_CIRC,0,0,{ dispbottom l("It looks dangerous."); |