- script Convex -1,{
setarray .boss_map$,"pay_dun04",
"xmas_dun02",
"xmas_fild01",
"gl_chyard",
"gl_cas02",
"prt_maze03",
"prt_sewb4",
"mjolnir_05",
"gef_dun02",
"gef_dun03",
"anthell01",
"anthell02",
"in_sphinx5",
"pay_fild10",
"moc_pryd04",
"ama_dun03",
"orcsdun02",
"gef_fild14",
"tur_dun04",
"treasure02",
"moc_pryd06";
setarray .boss_mob$,"Moonlight Flower",
"Stormy Knight",
"Garm",
"Dark Lord",
"Baphomet",
"Baphomet",
"Golden Thief Bug",
"Mistress",
"Doppelganger",
"Dracula",
"Phreeoni",
"Maya",
"Pharaoh",
"Eddga",
"Osiris",
"Samurai Specter",
"Orc Lord",
"Orc Hero",
"Turtle General",
"Drake",
"Amon Ra";
mes "[ Convex Handler ]";
for(set .@i,0;.@i < getarraysize(.boss_map$); .@i++){
if (mobcount(.boss_map$[.@i], .boss_mob$[.@i]+"#boss::OnMVPDead") > 0) {
mes "^008000"+.boss_mob$[.@i]+" is alive! ^000000";
}
else {
mes "^FF0000 "+.boss_mob$[.@i]+" is dead. ^000000";
}
}
close;
}
I'm using this to check if my MVPs are dead or alive. The thing here is, when I talk to the npc, it will ways display that the mob is dead.
When I warp to the map(mvp map), for instance pay_dun04, and talk to the NPC again, it will display the information correctly this time.
My other npc that checks for the status of the MVP works perfectly fine but it is limited to the map in which where the mvp is. Can someone point out why this is happening?