Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script Mvpkiller -1,{
- end;
- OnPCKillMvpEvent:
- set .@i,rand(100);
- set .@a,rand(1000);
- if ( .@i < 3 ){
- getitem 7227,1;
- }
- if ( .@a < 6 ){
- getitem 22829,1;
- }
- setarray .@announce[0],7711,6438,6439,2202,4480;
- set .@rand,rand(0,(getarraysize(.@item)-1));
- getitem .@item[.@rand],.@num[.@rand];
- for ( .@an = 0; .@an < getarraysize(.@announce); .@an++){
- if ( .@item[.@rand] == .@announce[.@an] ){
- announce "恭喜 "+strcharinfo(0)+" 抽到 "+getitemname(.@item[.@rand])+" x "+.@num[.@rand]+"",15;
- }
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement