is this a different request ?
feels totally different from the first post
- script kjhfkshdf FAKE_NPC,{
OnNPCKillEvent:
if (strcharinfo(PC_MAP) != "prt_fild08" || .spawned == true)
end;
if (killedrid == PORING)
++.poringkill;
else if (killedrid == DROPS)
++.dropskill;
else if (killedrid == POPORING)
++.poporingkill;
if (.poringkill > 10 && .dropskill > 10 && .poporingkill > 10) {
getmapxy .@map$, .@x, .@y, UNITTYPE_PC;
while (checkcell(.@map$, .@x2 = rand(.@x - .@area, .@x + .@area), .@y2 = rand(.@y - .@area, .@y + .@area), cell_chknopass));
monster "prt_fild08", .@x2, .@y2, "--ja--", MASTERING, 1, strnpcinfo(NPC_NAME_UNIQUE)+"::OnMobKill";
mapannounce "prt_fild08", "Mastering has been spawn", bc_map;
.spawned = true;
}
end;
OnMobKill:
mapannounce "prt_fild08", "Mastering has been killed", bc_map;
initnpctimer;
end;
//OnTimer5000:
OnTimer86400000:
.poringkill = 0;
.dropskill = 0;
.poporingkill = 0;
.spawned = false;
end;
}
prt_fild08,0,0,0,0 monster Poring 1002,1000,0,0
prt_fild08,0,0,0,0 monster Drops 1113,1000,0,0
prt_fild08,0,0,0,0 monster Poporing 1031,1000,0,0