Advertisement
Guest User

Untitled

a guest
Sep 20th, 2016
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. - script triple_exp -1,{
  2. OnInit:
  3. // original Base/Job Exp and Drop Rates
  4. set .bexp_rate, 500; //Put you rate...
  5. set .jexp_rate, 500; //put you rate...
  6.  
  7.  
  8. OnClock16: // Tues [Start]
  9. OnClock23: // Tues [End]
  10. OnClock16: // Friday [Start]
  11. OnClock23: // Friday [End]
  12. OnClock12: // Sat [Start]
  13. OnClock23: // Sat [End]
  14. OnClock12: // Sun [Start]
  15. OnClock23: // Sun [End]
  16.  
  17. if((gettime(4)==2) && (gettime(3)>=16 && gettime(3)<23))
  18. if((gettime(4)==5) && (gettime(3)>=16 && gettime(3)<23))
  19. if((gettime(4)==6) && (gettime(3)>=12 && gettime(3)<23))
  20. if((gettime(4)==0) && (gettime(3)>=12 && gettime(3)<23))
  21. {
  22. announce "Double Event is finished!",bc_all,0xFF6060;
  23. callsub L_ratio, 1;
  24. }
  25. else {
  26. announce "Double Event Starting!", bc_all;
  27. callsub L_ratio, 2;
  28. }
  29.  
  30. L_ratio:
  31. setbattleflag "base_exp_rate", .bexp_rate * 100 * getarg( 0 );
  32. setbattleflag "job_exp_rate", .jexp_rate * 100 * getarg( 0 );
  33. atcommand "@reloadmobdb";
  34. end;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement