can i use this script for auto respawning monster and custom drop? is this the right one?
- script rates -1,{
monster .Map$,0,0,"Coin",1002,1,strnpcinfo(0)+"::OnItemGet";
}
OnItemGet:
if( rand(100) < .Rate ){
getitem 674,1;
} else {
if( rand(100) < .Rate ){
getitem 512,1;
}
end;
OnInit:
// What Map for Event to take Place ?
set .Map$,"dic_dun02";
// How many % in order to get Item upon killed Monster ?
set .Rate,15;
.Map$,0,0,0,0 monster A 2068,5,100000,0,0
setmapflag .Map$,mf_noskill;
setmapflag .Map$,mf_nomobloot;
setmapflag .Map$,mf_nomvploot;
end;
}