Hi, how can I script this ranker npc I'm using so it won't record MVP kills in certains maps? (MVP rooms; i.e pvp_n_1-2)
Here's the part in the script:
OnNPCKillEvent:
if($@CPc && (getgmlevel() < $@CPgm0)) {
set .@a,killedrid;
if(.@a && (.@a <= (.db - 1000))) {
if(getmonsterinfo(.@a,21) & 0x0020) {
if(getmonsterinfo(.@a,22))
callfunc "CPRankChar",$@CPc - 1,1,0; // MVP.
else callfunc "CPRankChar",$@CPc - 1,0,1; // Boss.
}
}
}
end;