You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.5 KiB
Plaintext
96 lines
3.5 KiB
Plaintext
//===== rAthena Script =======================================
|
|
//= Einbech Mine Dungeon Monster Spawn Script
|
|
//===== By: ==================================================
|
|
//= Athena (1.0)
|
|
//===== Current Version: =====================================
|
|
//= 1.5
|
|
//===== Compatible With: =====================================
|
|
//= rAthena Project
|
|
//===== Additional Comments: =================================
|
|
//= 1.0 spawn N and spawn delays aren't yet correct, so I set
|
|
//= respawn delays quite big for now [Lupus]
|
|
//= 1.1 Fixed monsters spawn places
|
|
//= 1.2 Update monster spawn numbers according to info on emperium.org [MasterOfMuppets]
|
|
//= 1.3 Official kRO 10.1 spawns [Playtester]
|
|
//= 1.4 More accurate spawns [Playtester]
|
|
//= 1.5 Corrected MVP spawn variance. [L0ne_W0lf]
|
|
//= 1.6 Added Illusion of Teddy Bear. [Atemo]
|
|
//============================================================
|
|
|
|
//==================================================
|
|
// ein_dun01 - Mine Dungeon
|
|
//==================================================
|
|
ein_dun01,0,0 monster Pitman 1616,70,5000
|
|
ein_dun01,0,0 monster Noxious 1620,30,5000
|
|
ein_dun01,0,0 monster Porcellio 1619,30,5000
|
|
ein_dun01,0,0 monster Venomous 1621,10,5000
|
|
ein_dun01,0,0 monster Old Stove 1617,1,5000
|
|
ein_dun01,0,0 monster Ungoliant 1618,1,3600000,3000000
|
|
|
|
//==================================================
|
|
// ein_dun02 - Mine Dungeon
|
|
//==================================================
|
|
ein_dun02,0,0 monster Mineral 1614,50,5000
|
|
ein_dun02,0,0 monster Obsidian 1615,40,5000
|
|
ein_dun02,0,0 monster Old Stove 1617,30,5000
|
|
ein_dun02,0,0 monster Teddy Bear 1622,30,5000
|
|
ein_dun02,0,0,0,0 boss_monster RSX-0806 1623,1,7500000,600000,0
|
|
|
|
//==================================================
|
|
// ein_dun03 - Mine Dungeon
|
|
//==================================================
|
|
ein_dun03 monster Poisonous 20592,35
|
|
ein_dun03 monster Toxious 20593,35
|
|
ein_dun03 monster Green Mineral 20594,40
|
|
ein_dun03 monster Red Mineral 20595,40
|
|
ein_dun03 monster White Mineral 20596,40
|
|
ein_dun03 monster Purple Mineral 20597,40
|
|
ein_dun03 monster Abyssman 20603,20
|
|
ein_dun03 monster White Porcellio 20602,22
|
|
ein_dun03 monster Jeweliant 20598,20
|
|
ein_dun03 monster Jewel 20600,3
|
|
ein_dun03 boss_monster Jungoliant 20601,1,7200000,600000,0
|
|
|
|
//==================================================
|
|
// Illusion of Teddy Bear
|
|
//==================================================
|
|
ein_d02_i monster Red Teddybear 20255,25,5000,0,"ein_d02_i_boss::OnMobDead"
|
|
ein_d02_i monster Yellow Teddybear 20256,25,5000,0,"ein_d02_i_boss::OnMobDead"
|
|
ein_d02_i monster Green Teddybear 20257,25,5000,0,"ein_d02_i_boss::OnMobDead"
|
|
ein_d02_i monster White Teddybear 20258,20,5000,0,"ein_d02_i_boss::OnMobDead"
|
|
ein_d02_i monster Blue Teddybear 20259,20,5000,0,"ein_d02_i_boss::OnMobDead"
|
|
ein_d02_i monster Pitman Labor Type 20261,20
|
|
ein_d02_i monster Piece of Spirit 20262,15
|
|
ein_d02_i monster Spirit Dwelling Obsidian 20263,15
|
|
|
|
- script ein_d02_i_boss -1,{
|
|
end;
|
|
OnMobDead:
|
|
if (playerattached()) {
|
|
if (.count < 2500)
|
|
.count++;
|
|
if (!.boss_spawn && !.cooldown && .count == 2500) {
|
|
.boss_spawn = true;
|
|
.count = 0;
|
|
killmonster "ein_d02_i", "ein_d02_i_boss::OnBossDeath";
|
|
// mapannounce "ein_d02_i", "", bc_map; // Unknown text
|
|
getunitdata( killedgid, .@data );
|
|
monster "ein_d02_i", .@data[UMOB_X], .@data[UMOB_Y], "--ja--", 20260,1, "ein_d02_i_boss::OnBossDeath"; // ILL_TEDDY_BEAR_S
|
|
end;
|
|
}
|
|
}
|
|
end;
|
|
OnBossDeath:
|
|
// (no announce)
|
|
killmonster "ein_d02_i", "ein_d02_i_boss::OnBossDeath";
|
|
.boss_spawn = false;
|
|
.cooldown = true;
|
|
initnpctimer;
|
|
end;
|
|
|
|
OnTimer7200000:
|
|
.cooldown = false;
|
|
stopnpctimer;
|
|
end;
|
|
}
|