M_ActivitySmashEggRewardCFG.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. M_ActivitySmashEggRewardCFG = {}
  2. function M_ActivitySmashEggRewardCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivitySmashEggRewardCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, EggType = 2, RewardId = 24, RewardCount = 5, Weight = 30}
  11. self.datas[2] = {ID = 2, EggType = 2, RewardId = 25, RewardCount = 2, Weight = 25}
  12. self.datas[3] = {ID = 3, EggType = 2, RewardId = 26, RewardCount = 1, Weight = 5}
  13. self.datas[4] = {ID = 4, EggType = 2, RewardId = 27, RewardCount = 1, Weight = 5}
  14. self.datas[5] = {ID = 5, EggType = 2, RewardId = 1, RewardCount = 1000000, Weight = 30}
  15. self.datas[6] = {ID = 6, EggType = 2, RewardId = 94, RewardCount = 1, Weight = 5}
  16. self.datas[7] = {ID = 7, EggType = 1, RewardId = 1, RewardCount = 1500000, Weight = 20}
  17. self.datas[8] = {ID = 8, EggType = 1, RewardId = 1, RewardCount = 3000000, Weight = 15}
  18. self.datas[9] = {ID = 9, EggType = 1, RewardId = 25, RewardCount = 4, Weight = 35}
  19. self.datas[10] = {ID = 10, EggType = 1, RewardId = 26, RewardCount = 2, Weight = 25}
  20. self.datas[11] = {ID = 11, EggType = 1, RewardId = 27, RewardCount = 1, Weight = 5}
  21. self.datas[12] = {ID = 12, EggType = 1, RewardId = 96, RewardCount = 1, Weight = 0}
  22. self.datas[13] = {ID = 13, EggType = 3, RewardId = 5, RewardCount = 20, Weight = 5}
  23. self.datas[14] = {ID = 14, EggType = 3, RewardId = 8, RewardCount = 30, Weight = 5}
  24. self.datas[15] = {ID = 15, EggType = 3, RewardId = 17, RewardCount = 10, Weight = 10}
  25. self.datas[16] = {ID = 16, EggType = 3, RewardId = 24, RewardCount = 1, Weight = 25}
  26. self.datas[17] = {ID = 17, EggType = 3, RewardId = 25, RewardCount = 1, Weight = 15}
  27. self.datas[18] = {ID = 18, EggType = 3, RewardId = 1, RewardCount = 200000, Weight = 40}
  28. end
  29. M_ActivitySmashEggRewardCFG:init()