OnMobDeath:
set $@heldunmobs,$@heldunmobs-1;
if($@heldunmobs<=0) {
mapannounce "for_map01","Hel Dungeon Wave cleared!",bc_map;
if($@heldunwave==1) {
mapannounce "for_map01","You cleared Wave 1! Here comes Wave 2!",bc_map;
donpcevent "HelDunSpawn::OnWave2";
}
else if($@heldunwave==2) {
mapannounce "for_map01","You cleared Wave 2! Here comes the MvP!",bc_map;
donpcevent "HelDunSpawn::OnFirstMVP";
}
else if($@heldunwave==3) {
mapannounce "for_map01","You cleared the MvP! Here comes Wave 3!",bc_map;
donpcevent "HelDunSpawn::OnWave4";
}
else if($@heldunwave==4) {
mapannounce "for_map01","You cleared Wave 3! Here comes Wave 4!",bc_map;
donpcevent "HelDunSpawn::OnWave5";
}
else if($@heldunwave==5) {
mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map;
donpcevent "HelDunSpawn::OnWave6";
}
else if($@heldunwave==6) {
mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map;
donpcevent "HelDunSpawn::OnWave7";
}
else if($@heldunwave==7) {
mapannounce "for_map01","You cleared Wave 5! Here comes the final MvP!",bc_map;
donpcevent "HelDunSpawn::OnFinalMVP";
}
else if($@heldunwave==8) {
mapannounce "for_map01","You have defeated the final MvP of The Gates of Hel!",bc_map;
enablenpc "Warp to Gates of Hell";
}
}
end;
}
OnMobDeath:
set $@heldunmobs,$@heldunmobs-1;
if($@heldunmobs<=0) {
mapannounce "for_map01","Hel Dungeon Wave cleared!",bc_map;
switch($@heldunwave){
case 1:
mapannounce "for_map01","You cleared Wave 1! Here comes Wave 2!",bc_map;
donpcevent "HelDunSpawn::OnWave2";
break;
case 2:
mapannounce "for_map01","You cleared Wave 2! Here comes the MvP!",bc_map;
donpcevent "HelDunSpawn::OnFirstMVP";
case 3:
mapannounce "for_map01","You cleared the MvP! Here comes Wave 3!",bc_map;
donpcevent "HelDunSpawn::OnWave4";
break;
case 4:
mapannounce "for_map01","You cleared Wave 3! Here comes Wave 4!",bc_map;
donpcevent "HelDunSpawn::OnWave5";
break;
case 5:
mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map;
donpcevent "HelDunSpawn::OnWave6";
break;
case 6:
mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map;
donpcevent "HelDunSpawn::OnWave7";
break;
case 7:
mapannounce "for_map01","You cleared Wave 5! Here comes the final MvP!",bc_map;
donpcevent "HelDunSpawn::OnFinalMVP";
break;
case 8:
mapannounce "for_map01","You have defeated the final MvP of The Gates of Hel!",bc_map;
enablenpc "Warp to Gates of Hell";
break;
}
end;
}