Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. - script Mvpkiller -1,{
  2. end;
  3. OnPCKillMvpEvent:
  4. set .@i,rand(100);
  5. set .@a,rand(1000);
  6. if ( .@i < 3 ){
  7. getitem 7227,1;
  8. }
  9. if ( .@a < 6 ){
  10. getitem 22829,1;
  11. }
  12. setarray .@announce[0],7711,6438,6439,2202,4480;
  13. set .@rand,rand(0,(getarraysize(.@item)-1));
  14. getitem .@item[.@rand],.@num[.@rand];
  15. for ( .@an = 0; .@an < getarraysize(.@announce); .@an++){
  16. if ( .@item[.@rand] == .@announce[.@an] ){
  17. announce "恭喜 "+strcharinfo(0)+" 抽到 "+getitemname(.@item[.@rand])+" x "+.@num[.@rand]+"",15;
  18. }
  19. }
  20. end;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement