M_ActivitySmashEggRewardCFG.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // ID:编号, EggType:砸蛋类型, RewardId:奖励ID, RewardCount:奖励数量, Weight:权重
  2. export default class M_ActivitySmashEggRewardCFG {
  3. private static data =
  4. {"1":{"ID":1,"EggType":2,"RewardId":24,"RewardCount":5,"Weight":30}
  5. ,"2":{"ID":2,"EggType":2,"RewardId":25,"RewardCount":2,"Weight":25}
  6. ,"3":{"ID":3,"EggType":2,"RewardId":26,"RewardCount":1,"Weight":5}
  7. ,"4":{"ID":4,"EggType":2,"RewardId":27,"RewardCount":1,"Weight":5}
  8. ,"5":{"ID":5,"EggType":2,"RewardId":1,"RewardCount":1000000,"Weight":30}
  9. ,"6":{"ID":6,"EggType":2,"RewardId":94,"RewardCount":1,"Weight":5}
  10. ,"7":{"ID":7,"EggType":1,"RewardId":1,"RewardCount":1500000,"Weight":20}
  11. ,"8":{"ID":8,"EggType":1,"RewardId":1,"RewardCount":3000000,"Weight":15}
  12. ,"9":{"ID":9,"EggType":1,"RewardId":25,"RewardCount":4,"Weight":35}
  13. ,"10":{"ID":10,"EggType":1,"RewardId":26,"RewardCount":2,"Weight":25}
  14. ,"11":{"ID":11,"EggType":1,"RewardId":27,"RewardCount":1,"Weight":5}
  15. ,"12":{"ID":12,"EggType":1,"RewardId":96,"RewardCount":1,"Weight":0}
  16. ,"13":{"ID":13,"EggType":3,"RewardId":5,"RewardCount":20,"Weight":5}
  17. ,"14":{"ID":14,"EggType":3,"RewardId":8,"RewardCount":30,"Weight":5}
  18. ,"15":{"ID":15,"EggType":3,"RewardId":17,"RewardCount":10,"Weight":10}
  19. ,"16":{"ID":16,"EggType":3,"RewardId":24,"RewardCount":1,"Weight":25}
  20. ,"17":{"ID":17,"EggType":3,"RewardId":25,"RewardCount":1,"Weight":15}
  21. ,"18":{"ID":18,"EggType":3,"RewardId":1,"RewardCount":200000,"Weight":40}
  22. }// ID:编号, EggType:砸蛋类型, RewardId:奖励ID, RewardCount:奖励数量, Weight:权重
  23. static getData(key: any): any {
  24. if (key == null || key == undefined)
  25. return null;
  26. return this.data[key];
  27. }
  28. static getAllData(): any {
  29. return this.data;
  30. }
  31. }