diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-22 06:16:21 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-22 06:16:21 +0000 |
commit | dec3ae611b85e2ce1d01a572a0d07d0e2907408b (patch) | |
tree | 1f12484f992422b34b1e3b029ba973aeb43fce20 /npc/mobs | |
parent | b8d9d3ef71cb8d93bb8173c8c04e8d3d1798b187 (diff) | |
download | hercules-dec3ae611b85e2ce1d01a572a0d07d0e2907408b.tar.gz hercules-dec3ae611b85e2ce1d01a572a0d07d0e2907408b.tar.bz2 hercules-dec3ae611b85e2ce1d01a572a0d07d0e2907408b.tar.xz hercules-dec3ae611b85e2ce1d01a572a0d07d0e2907408b.zip |
* Several small fixes to scripts, and updates.
- Updated City warps for Lighthalzen, and dugneon warps.
- Updated castle warps for Schwaltzvalt Castles Map.
- "The Sign" quest is now enabled by default. (bugreport:1011)
- Added Dimensional Gorge map spawns (According to RO Future Wiki)
- Updated Lighthalzen boss spawning mechanisim to official.
- Fixed a small error in the novice potion exchanger.
- Resolves the following: bugreport:879 bugreport:973 bugreport:983 bugreport:1013 bugreport:1021 bugreport:1024 bugreport:1026
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12227 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/mobs')
-rw-r--r-- | npc/mobs/dungeons/lhz_dun.txt | 102 | ||||
-rw-r--r-- | npc/mobs/fields/morocc.txt | 40 |
2 files changed, 122 insertions, 20 deletions
diff --git a/npc/mobs/dungeons/lhz_dun.txt b/npc/mobs/dungeons/lhz_dun.txt index ae7311e86..df12e8544 100644 --- a/npc/mobs/dungeons/lhz_dun.txt +++ b/npc/mobs/dungeons/lhz_dun.txt @@ -3,7 +3,7 @@ //===== By: ================================================== // The Prometheus Project, eAthena dev team //===== Current Version: ===================================== -//= 1.6 +//= 1.7 //===== Compatible With: ===================================== //= Any Athena //===== Additional Comments: ================================= @@ -15,6 +15,10 @@ //= 1.4: Adjusted spawns according to own info from iRO [MasterOfMuppets] //= 1.5: More accurate spawn numbers and iRO names thanks to Tharis [Playtester] //= 1.6: Official X.3 spawns [Playtester] +//= 1.7 Corrected MVP spawn function to be standard to iRO. [L0ne_W0lf] +//= - A random 99 will now be spawned when the MVP spawns. +//= - Spare spawn and MVP spawn now spawn in official locations. +//= - Expandeded timer to allow for varying spawn times. //============================================================ @@ -216,26 +220,86 @@ lhz_dun03,139,117,20,11 monster Sniper Cecil 1644,1,2700000,2500000,1 lhz_dun03,138,138,36,34 monster High Priest Margaretha 1643,1,3300000,3000000,1 lhz_dun03,138,138,36,34 monster High Wizard Kathryne 1645,1,2580000,2460000,1 -lhz_dun03,1,1,0 script Lhzdun03monster -1,{ +lhz_dun03,2,2,0 script summon_boss_lt -1,{ OnInit: - while(1) - { - switch(rand(1,6)) - { - case 1: areamonster "lhz_dun03",1,1,300,300,"Lord Knight Seyren",1646,1,"Lhzdun03monster::OnMonsterDead"; break; - case 2: areamonster "lhz_dun03",1,1,300,300,"Assassin Cross Eremes",1647,1,"Lhzdun03monster::OnMonsterDead"; break; - case 3: areamonster "lhz_dun03",1,1,300,300,"Whitesmith Horward",1648,1,"Lhzdun03monster::OnMonsterDead"; break; - case 4: areamonster "lhz_dun03",1,1,300,300,"High Priest Margaretha",1649,1,"Lhzdun03monster::OnMonsterDead"; break; - case 5: areamonster "lhz_dun03",1,1,300,300,"Sniper Cecil",1650,1,"Lhzdun03monster::OnMonsterDead"; break; - case 6: areamonster "lhz_dun03",1,1,300,300,"High Wizard Kathryne",1651,1,"Lhzdun03monster::OnMonsterDead"; break; - } - end; - OnMonsterDead: - initnpctimer; - setnpctimer 0; - end; - OnTimer7200000: + initnpctimer; + end; + +OnTimer6000000: + if (rand(1,6) == 1) { + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + } + end; + +OnTimer6300000: + if (rand(1,6) == 2) { + donpcevent "summon_boss_lt::Onsummon"; stopnpctimer; } + end; + +OnTimer6600000: + if (rand(1,6) == 3) { + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + } + end; + +OnTimer6900000: + if (rand(1,6) == 4) { + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + } + end; + +OnTimer7200000: + if (rand(1,6) == 5) { + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + } + end; + +OnTimer7500000: + if (rand(1,6) == 6) { + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + } + end; + +OnTimer7800000: + donpcevent "summon_boss_lt::Onsummon"; + stopnpctimer; + end; + +Onsummon: + // Select Coordinates to summon a random MVP on + switch(rand(1,6)) { + case 1: set .@x,140; set .@y,232; break; + case 2: set .@x,75; set .@y,138; break; + case 3: set .@x,140; set .@y,87; break; + case 4: set .@x,205; set .@y,140; break; + case 5: set .@x,123; set .@y,137; break; + case 6: set .@x,175; set .@y,137; break; + } + set .@mob,rand(1646,1651); + monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,"summon_boss_lt::OnMyMvPDead"; + + // Select Coordinates to summon a random 99 on + switch(rand(1,6)) { + case 1: set .@x2,183; set .@y2,97; break; + case 2: set .@x2,97; set .@y2,96; break; + case 3: set .@x2,47; set .@y2,139; break; + case 4: set .@x2,231; set .@y2,140; break; + case 5: set .@x2,139; set .@y2,211; break; + case 6: set .@x2,139; set .@y2,259; break; + } + set .@mob2,rand(1640,1645); + monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,"summon_boss_lt::OnMVP"; + end; +OnMyMvPDead: + killmonster "lhz_dun03","summon_boss_lt::OnMVP"; + initnpctimer; + end; } diff --git a/npc/mobs/fields/morocc.txt b/npc/mobs/fields/morocc.txt index 998313582..1b610f8d7 100644 --- a/npc/mobs/fields/morocc.txt +++ b/npc/mobs/fields/morocc.txt @@ -3,12 +3,14 @@ //===== By: ================================================== //= Athena (1.0) //===== Current Version: ===================================== -//= 1.2 +//= 1.3 //===== Compatible With: ===================================== //= Any Athena Version //===== Additional Comments: ================================= //= 1.1 Official kRO 10.1 spawns [Playtester] //= 1.2 More accurate spawns [Playtester] +//= 1.3 Added Morroc field 20, 21, and 22 spawns, as [L0ne_W0lf] +// indicated by doddler. Incomplete mobs commented out. //============================================================ //================================================== @@ -279,3 +281,39 @@ moc_fild18,135,119,0,0 monster Yellow Plant 1081,1,180000,90000,1 moc_fild18,230,144,0,0 monster Yellow Plant 1081,1,180000,90000,1 moc_fild18,325,207,0,0 monster Yellow Plant 1081,1,180000,90000,1 moc_fild18,325,272,0,0 monster Yellow Plant 1081,1,180000,90000,1 + +//================================================== +// moc_fild20 - Dimensional Gorge +//================================================== +moc_fild20,0,0,0,0 monster Ant Egg 1097,10,0,0,0 +moc_fild20,0,0,0,0 monster Andre 1095,20,0,0,0 +moc_fild20,0,0,0,0 monster Deniro 1105,20,0,0,0 +moc_fild20,0,0,0,0 monster Piere 1160,20,0,0,0 +moc_fild20,0,0,0,0 monster Metaller 1058,20,0,0,0 +moc_fild20,0,0,0,0 monster Drops 1113,30,0,0,0 +moc_fild20,0,0,0,0 monster Scorpion 1001,70,0,0,0 +moc_fild20,0,0,0,0 monster Picky 1050,50,0,0,0 +moc_fild20,0,0,0,0 monster Picky 1049,50,0,0,0 +//moc_fild20,0,0,0,0 monster Morroc's Shadow 1918,1,0,0,0 +//moc_fild20,0,0,0,0 monster Morroc's Shadow 1919,1,0,0,0 +//moc_fild20,0,0,0,0 monster Morroc's Shadow 1920,1,0,0,0 +//moc_fild20,0,0,0,0 monster Morroc's Shadow 1921,1,0,0,0 + +//================================================== +// moc_fild21 - Dimensional Gorge +//================================================== +moc_fild21,0,0,0,0 monster Golem 1040,61,0,0,0 +moc_fild21,0,0,0,0 monster Stalactic Golem 1278,46,0,0,0 +moc_fild21,0,0,0,0 monster Lava Golem 1366,46,0,0,0 +//moc_fild21,0,0,0,0 monster Morroc's Shadow 1918,46,0,0,0 +//moc_fild21,0,0,0,0 monster Morroc's Shadow 1919,46,0,0,0 +//moc_fild21,0,0,0,0 monster Morroc's Shadow 1920,46,0,0,0 +//moc_fild21,0,0,0,0 monster Morroc's Shadow 1921,34,0,0,0 + +//================================================== +// moc_fild22 - Dimensional Gorge +//================================================== +//moc_fild22,0,0,0,0 monster Morroc's Shadow 1918,60,0,0,0 +//moc_fild22,0,0,0,0 monster Morroc's Shadow 1919,60,0,0,0 +//moc_fild22,0,0,0,0 monster Morroc's Shadow 1920,60,0,0,0 +//moc_fild22,0,0,0,0 monster Morroc's Shadow 1921,25,0,0,0 |