lhz_dun03,2,2,0 script summon_boss_lt -1,{
OnInit:
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;
//Required to keep from erroring
OnMVP:
end;
}