//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  rAthena Dev Team
//= Copyright (C)  Chilly
//= Copyright (C)  eAthena Dev Team
//= Copyright (C)  L0ne_W0lf
//= Copyright (C)  Playtester
//= Copyright (C)  MasterOfMuppets
//= Copyright (C)  Poki#3
//= Copyright (C)  Skotlex
//= Copyright (C)  The Prometheus Project
//= Copyright (C)  Muad_Dib
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Lighthalzen Dungeon(Biolabs) Monster Spawn Script (Renewal)
//================= Description ===========================================
//= Monster Spawns for Lighthalzen Dungeon
//================= Current Version =======================================
//= 1.9
//=========================================================================

//== lhz_dun01 - Somatology Laboratory =====================
lhz_dun01,0,0,0,0	monster	Remover	1682,100,5000,0,0
lhz_dun01,0,0,0,0	monster	Anopheles	1627,70,5000,0,0
lhz_dun01,0,0,0,0	monster	Metaling	1613,50,5000,0,0
lhz_dun01,0,0,0,0	monster	Kavach Icarus	1656,13,5000,0,0
lhz_dun01,0,0,0,0	monster	Errende Ebecee	1655,13,5000,0,0
lhz_dun01,0,0,0,0	monster	Laurell Weinder	1657,11,5000,0,0
lhz_dun01,0,0,0,0	monster	Wickebine Tres	1653,11,5000,0,0
lhz_dun01,0,0,0,0	monster	Armeyer Dinze	1654,8,5000,0,0
lhz_dun01,0,0,0,0	monster	Egnigem Cenia	1652,8,5000,0,0
lhz_dun01,0,0,0,0	monster	Gemini-S58	1681,1,5000,0,0

//== lhz_dun02 - Somatology Laboratory =====================
lhz_dun02,0,0,0,0	monster	Laurell Weinder	1657,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Wickebine Tres	1653,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Kavach Icarus	1656,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Errende Ebecee	1655,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Egnigem Cenia	1652,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Armeyer Dinze	1654,50,5000,0,0
lhz_dun02,0,0,0,0	monster	Remover	1682,20,5000,0,0
lhz_dun02,0,0,0,0	monster	Gemini-S58	1681,10,5000,0,0
lhz_dun02,0,0,0,0	monster	Eremes Guile	1635,1,5000,0,0
lhz_dun02,0,0,0,0	boss_monster	Egnigem Cenia	1658,1,7200000,600000,1

//== lhz_dun03 - Somatology Laboratory =====================
lhz_dun03,0,0,0,0	monster	Cecil Damon	1638,81,5000,0,0
lhz_dun03,0,0,0,0	monster	Kathryne Keyron	1639,57,5000,0,0
lhz_dun03,0,0,0,0	monster	Margaretha Sorin	1637,42,5000,0,0
lhz_dun03,0,0,0,0	monster	Howard Alt-Eisen	1636,42,5000,0,0
lhz_dun03,0,0,0,0	monster	Eremes Guile	1635,42,5000,0,0
lhz_dun03,0,0,0,0	monster	Seyren Windsor	1634,42,5000,0,0
lhz_dun03,139,158,20,11	monster	Assassin Cross Eremes	1641,1,2580000,2340000,1
lhz_dun03,138,138,36,34	monster	High Wizard Kathryne	1645,1,2580000,2460000,1
lhz_dun03,114,138,12,16	monster	Lord Knight Seyren	1640,1,2700000,2400000,1
lhz_dun03,139,117,20,11	monster	Sniper Cecil	1644,1,2700000,2500000,1
lhz_dun03,163,138,12,16	monster	Whitesmith Howard	1642,1,3000000,2700000,1
lhz_dun03,138,138,36,34	monster	High Priest Margaretha	1643,1,3300000,3000000,1

lhz_dun03,0,0,0	script	mvp_lhz_dun03	FAKE_NPC,{
OnTimer6000000: // delay1 = 6000000 ms (100 min)
	stopnpctimer;
	sleep rand(0,30)*60000; // 0 to 30 minutes
OnInit:
	// Select Coordinates to summon a random MVP on
	switch(rand(1,6)) {
		case 1:  .@x = 140;  .@y = 232;  break;
		case 2:  .@x = 75;   .@y = 138;  break;
		case 3:  .@x = 140;  .@y = 87;   break;
		case 4:  .@x = 205;  .@y = 140;  break;
		case 5:  .@x = 123;  .@y = 137;  break;
		case 6:  .@x = 175;  .@y = 137;  break;
	}
	.@mob = rand(1646,1651);
	monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMyMVPDead";

	// Select Coordinates to summon a random 99 on
	switch(rand(1,6)) {
		case 1:  .@x2 = 183;  .@y2 = 97;   break;
		case 2:  .@x2 = 97;   .@y2 = 96;   break;
		case 3:  .@x2 = 47;   .@y2 = 139;  break;
		case 4:  .@x2 = 231;  .@y2 = 140;  break;
		case 5:  .@x2 = 139;  .@y2 = 211;  break;
		case 6:  .@x2 = 139;  .@y2 = 259;  break;
	}
	.@mob2 = rand(1640,1645);
	monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead";
	end;

OnMyMVPDead:
	killmonster "lhz_dun03",strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead";
	initnpctimer;
OnMy99Dead:
	end;
}

//== lhz_dun04 - Bio-life Labs 4F ==========================
lhz_dun04,0,0,0,0	monster	Randel	2221,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Flamel	2222,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Celia	2223,81,5000,0,0
lhz_dun04,0,0,0,0	monster	Chen	2224,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Gertie	2225,57,5000,0,0
lhz_dun04,0,0,0,0	monster	Alphoccio	2226,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Trentini	2227,42,5000,0,0
lhz_dun04,0,0,0,0	monster	Paladin Randel	2228,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Creator Flamel	2229,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Professor Celia	2230,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Champion Chen	2231,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Stalker Gertie	2232,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Clown Alphoccio	2233,1,3300000,3000000,1
lhz_dun04,0,0,0,0	monster	Gypsy Trentini	2234,1,3300000,3000000,1

lhz_dun04,0,0,0	script	mvp_lhz_dun04	FAKE_NPC,{
OnTimer6000000: // delay1 = 6000000 ms (100 min)
	stopnpctimer;
	sleep rand(0,30)*60000; // 0 to 30 minutes
OnInit:
	// Select Coordinates to summon a random MVP on
	switch(rand(1,7)) {
		case 1:  .@x = 77;   .@y = 251;  break;
		case 2:  .@x = 147;  .@y = 224;  break;
		case 3:  .@x = 219;  .@y = 219;  break;
		case 4:  .@x = 244;  .@y = 120;  break;
		case 5:  .@x = 149;  .@y = 41;   break;
		case 6:  .@x = 53;   .@y = 109;  break;
		case 7:  .@x = 149;  .@y = 151;  break;
	}
	.@mob = rand(2235,2241);
	monster "lhz_dun04",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMyMVPDead";

	// Select Coordinates to summon a random 99 on
	switch(rand(1,7)) {
		case 1:  .@x2 = 77;   .@y2 = 251;  break;
		case 2:  .@x2 = 147;  .@y2 = 224;  break;
		case 3:  .@x2 = 219;  .@y2 = 219;  break;
		case 4:  .@x2 = 244;  .@y2 = 120;  break;
		case 5:  .@x2 = 149;  .@y2 = 41;   break;
		case 6:  .@x2 = 53;   .@y2 = 109;  break;
		case 7:  .@x2 = 149;  .@y2 = 151;  break;
	}
	.@mob2 = rand(2228,2234);
	monster "lhz_dun04",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead";
	end;

OnMyMVPDead:
	killmonster "lhz_dun04",strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead";
	initnpctimer;
OnMy99Dead:
	end;
}
