Advertisement
brenobaroni

flutrate.txt

Sep 4th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. prontera,3,4,5 script FloatingRates -1,{
  2. end;
  3.  
  4.  
  5. //add any other HOURS
  6.  
  7. OnClock0700:
  8. OnClock1200:
  9. OnClock2000:
  10. OnClock0000:
  11. OnClock0300:
  12. set $@brate,550;
  13. set $@jrate,550;
  14. set $@drate,550;
  15. //Base exp
  16. setbattleflag("base_exp_rate",$@brate);
  17. //Job exp
  18. setbattleflag("job_exp_rate",$@jrate);
  19. //Drops
  20. setbattleflag("item_rate_common",$@drate);
  21. setbattleflag("item_rate_heal",$@drate);
  22. setbattleflag("item_rate_use",$@drate);
  23. setbattleflag("item_rate_equip",$@drate);
  24. //we don't change card drops rate, because these values won't change them anyway
  25. atcommand "@reloadmobdb";
  26.  
  27. announce "Sistema de rates flutuantes ativadas(duração de meia hora): 1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+"x",bc_all,0xFF6060;
  28. announce "Não afetam as cartas, digite @rates e confira! - Bom jogo a todos",bc_all,0xFF6060;
  29. end;
  30.  
  31. OnClock0730:
  32. OnClock1230:
  33. OnClock2030:
  34. OnClock0030:
  35. OnClock0330:
  36. //-------------------
  37. set $@brate,500;
  38. set $@jrate,500;
  39. set $@drate,500;
  40. //Base exp
  41. setbattleflag("base_exp_rate",$@brate);
  42. //Job exp
  43. setbattleflag("job_exp_rate",$@jrate);
  44. //Drops
  45. setbattleflag("item_rate_common",$@drate);
  46. setbattleflag("item_rate_heal",$@drate);
  47. setbattleflag("item_rate_use",$@drate);
  48. setbattleflag("item_rate_equip",$@drate);
  49. //we don't change card drops rate, because these values won't change them anyway
  50. atcommand "@reloadmobdb";
  51.  
  52. announce "Rates flutuantes Finalizadas!.",bc_all,0xFF6060;
  53. announce "Bom jogo a todos!",bc_all,0xFF6060;
  54. end;
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement