M_ActivityFishingCeleGiftLottery.lua 560 B

1234567891011121314151617
  1. M_ActivityFishingCeleGiftLottery = {}
  2. function M_ActivityFishingCeleGiftLottery:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityFishingCeleGiftLottery:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, LotteryCount = 5, rewardItem = {1,302}, rewardCount = {120000,12}}
  11. self.datas[2] = {ID = 2, LotteryCount = 5, rewardItem = {1,302}, rewardCount = {680000,68}}
  12. self.datas[3] = {ID = 3, LotteryCount = 5, rewardItem = {1,302}, rewardCount = {1280000,128}}
  13. end
  14. M_ActivityFishingCeleGiftLottery:init()