Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. prontera,164,171,3 script Race Of The Day 4_F_FAIRYKID,{
  2.  
  3. mes "[ ^FF0000Monster Race Of The Day^000000 ]";
  4. mes "^FF0000MROTD^000000 refer to";
  5. mes "^0000FFMonster Race of the Day^000000";
  6. mes "In another word, it mean that the ^FF0000Monster and Race^000000 that you killed by day will grant you ^FF0000Extra Bonus Item & Experience^000000.";
  7. next;
  8. mes "[ ^FF0000Monster Race Of The Day^000000 ]";
  9. mes "Races : ^0000FF"+$rotd$[getrotdrace()]+"^000000";
  10. mes "Currently gives : ^777777"+getrotdexp()+"% more exp.^000000";
  11. mes " ";
  12. mes "Mob name : ^0000FF"+getmonsterinfo ( getmotdinfo(1),MOB_NAME )+"^000000";
  13. mes "Exp bonus : ^777777"+getmotdinfo(4)+"% more exp.^000000";
  14. mes "Item bonus : ^777777"+getitemname( getmotdinfo(2) )+"^000000";
  15. close;
  16.  
  17. OnChangeROTD:
  18. delwaitingroom;
  19. waitingroom "[R] "+$rotd$[getrotdrace()]+", [M] "+getmonsterinfo ( getmotdinfo(1),MOB_NAME )+"",0;
  20. end;
  21.  
  22. OnInit:
  23. setarray $rotd$[0],
  24. "Formless",
  25. "Undead",
  26. "Brute",
  27. "Plant",
  28. "Insect",
  29. "Fish",
  30. "Demon",
  31. "Demi Human",
  32. "Angel",
  33. "Dragon";
  34. $rotd_size = getarraysize( $rotd$ );
  35.  
  36. for( .@i = 0; .@i < $rotd_size; .@i++ )
  37. $rotd_menu$ = $rotd_menu$ + $rotd$[.@i] +":";
  38.  
  39. $rotd_menu$ = $rotd_menu$ + "^0055FFRandom Race^000000";
  40.  
  41. OnClock0001:
  42. setrotd rand( $rotd_size ), rand( 75,200 );
  43. delwaitingroom;
  44. waitingroom "[R] "+$rotd$[getrotdrace()]+", [M] "+getmonsterinfo ( getmotdinfo(1),MOB_NAME )+"",0;
  45. end;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement