M_ActivityLuckyFishCFG.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // ID:编号, minRate:最小倍率, maxRate:最大倍率, weight:权重
  2. export default class M_ActivityLuckyFishCFG {
  3. private static data =
  4. {"1":{"ID":1,"minRate":100,"maxRate":120,"weight":20}
  5. ,"2":{"ID":2,"minRate":120,"maxRate":140,"weight":40}
  6. ,"3":{"ID":3,"minRate":140,"maxRate":160,"weight":40}
  7. ,"4":{"ID":4,"minRate":160,"maxRate":180,"weight":60}
  8. ,"5":{"ID":5,"minRate":180,"maxRate":200,"weight":60}
  9. ,"6":{"ID":6,"minRate":200,"maxRate":220,"weight":80}
  10. ,"7":{"ID":7,"minRate":220,"maxRate":250,"weight":80}
  11. ,"8":{"ID":8,"minRate":250,"maxRate":300,"weight":90}
  12. ,"9":{"ID":9,"minRate":300,"maxRate":350,"weight":90}
  13. ,"10":{"ID":10,"minRate":350,"maxRate":500,"weight":100}
  14. ,"11":{"ID":11,"minRate":500,"maxRate":600,"weight":100}
  15. ,"12":{"ID":12,"minRate":600,"maxRate":700,"weight":80}
  16. ,"13":{"ID":13,"minRate":700,"maxRate":900,"weight":60}
  17. ,"14":{"ID":14,"minRate":900,"maxRate":1100,"weight":50}
  18. ,"15":{"ID":15,"minRate":1100,"maxRate":1300,"weight":48}
  19. ,"16":{"ID":16,"minRate":1300,"maxRate":1500,"weight":1}
  20. ,"17":{"ID":17,"minRate":1500,"maxRate":2000,"weight":1}
  21. }// ID:编号, minRate:最小倍率, maxRate:最大倍率, weight:权重
  22. static getData(key: any): any {
  23. if (key == null || key == undefined)
  24. return null;
  25. return this.data[key];
  26. }
  27. static getAllData(): any {
  28. return this.data;
  29. }
  30. }