M_StarLotteryRateCFG.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // UpRange:上区间, DailyRate:每日衰减, TotalRate:总衰减
  2. export default class M_StarLotteryRateCFG {
  3. private static data =
  4. {"2":{"UpRange":2,"DailyRate":300,"TotalRate":300}
  5. ,"5":{"UpRange":5,"DailyRate":200,"TotalRate":200}
  6. ,"20":{"UpRange":20,"DailyRate":180,"TotalRate":150}
  7. ,"40":{"UpRange":40,"DailyRate":160,"TotalRate":120}
  8. ,"60":{"UpRange":60,"DailyRate":140,"TotalRate":140}
  9. ,"80":{"UpRange":80,"DailyRate":120,"TotalRate":120}
  10. ,"100":{"UpRange":100,"DailyRate":100,"TotalRate":100}
  11. ,"200":{"UpRange":200,"DailyRate":60,"TotalRate":60}
  12. ,"300":{"UpRange":300,"DailyRate":20,"TotalRate":20}
  13. ,"9999999":{"UpRange":9999999,"DailyRate":10,"TotalRate":10}
  14. }// UpRange:上区间, DailyRate:每日衰减, TotalRate:总衰减
  15. static getData(key: any): any {
  16. if (key == null || key == undefined)
  17. return null;
  18. return this.data[key];
  19. }
  20. static getAllData(): any {
  21. return this.data;
  22. }
  23. }