Hello I am using this script but I want to add another item with a rate of 10% in addition to the one it already has
- script MvpDrop-1,{OnNPCKillEvent:if(!getmonsterinfo( killedrid, MOB_MVPEXP )) end;if( getcharid(1)){
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;for(.@i=0;.@i<[email protected];.@i++){if( isloggedin([email protected][.@i],[email protected][.@i])){// what happens if someone in the party member is offline =/.@partymemberaid[.@c]=[email protected][.@i];.@c++;}}
getitem 675,3,.@partymemberaid[ rand(.@c)];}else{
getitem 675,3;}
end;}
Hello I am using this script but I want to add another item with a rate of 10% in addition to the one it already has
Link to comment
Share on other sites