Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1.  
  2. - script floating_rate -1,{
  3.  
  4. OnInit:
  5. .base_exp_rate = getbattleflag( "base_exp_rate" );
  6. .job_exp_rate = getbattleflag( "job_exp_rate" );
  7. end;
  8.  
  9. OnSat0000: // increase Drop by 2X
  10. callsub( set_Rate,2 );
  11. end;
  12.  
  13. OnMon0001: // back normal
  14. callsub( set_Rate,1 );
  15. end;
  16.  
  17. set_Rate:
  18. .@rate = getarg( 0,1 );
  19.  
  20. setbattleflag( "base_exp_rate", ( .@rate * .base_exp_rate ));
  21. setbattleflag( "job_exp_rate", ( .@rate * .job_exp_rate ));
  22.  
  23. atcommand "@reloadmobdb";
  24. if ( .@rate > 1 )
  25. announce "Thank God It's Weekend ! We Are Having Double EXP Rate : "+.@rate+" X Now Until Monday 00:00am ! ",bc_all,0xFF6060;
  26. end;
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement