That way you just need to adapt it to your instance script, in the simple way you would only need to add the code in the mob death label of your instance.
setarray .@Drops[0],
607,5,10000, //5x Ygg 100%
523,10,5000, //10x Holy Water 50%
12090,5,488, //5x Steamed Desert Scorpions 4,88%
5086,1,2200; //1x Alarm Mask 22%
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
for(set .@i,0; .@i<$@partymembercount; set .@i,.@i+1)
{
if(isloggedin($@partymemberaid[.@i],$@partymembercid[.@i]))
{
attachrid($@partymemberaid[.@i]);
else if(strcharinfo(3) == instance_mapname("map_instance"))
{
for(set .@i,0; .@i<getarraysize(.@Drops); set .@i,.@i+3)
{
set .@rnd,rand(1,10000);
if(.@rnd <= .@Drops[.@i+2])
{
getitem .@Drops[.@i],.@Drops[.@i+1];
if(.@Drops[.@i+2] <= 500)
{
set .@calc,(.@Drops[.@i+2]*100);
set .@cRess$,(.@calc%10000 ? (.@calc/10000)+","+substr(""+(.@calc%10000),0,1):(.@calc/10000))+"%";
announce "[IN INSTANCE]: "+strcharinfo(0)+" gained "+.@Drops[.@i+1]+"x "+getitemname(.@Drops[.@i])+" ~ "+.@cRess$+"",bc_all;
}
}
}
}
detachrid;
}
}
end;