Fish_TherionEventWeightCFG.lua 716 B

12345678910111213141516171819
  1. Fish_TherionEventWeightCFG = {}
  2. function Fish_TherionEventWeightCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_TherionEventWeightCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, EventName = "圣兽白虎", EventWeight = 30, TreasureWeight = 25}
  11. self.datas[2] = {ID = 2, EventName = "朱雀积分", EventWeight = 30, TreasureWeight = 50}
  12. self.datas[3] = {ID = 3, EventName = "招财财神", EventWeight = 30, TreasureWeight = 25}
  13. self.datas[4] = {ID = 4, EventName = "双倍奖励", EventWeight = 5, TreasureWeight = 0}
  14. self.datas[5] = {ID = 5, EventName = "圣兽玄武", EventWeight = 5, TreasureWeight = 0}
  15. end
  16. Fish_TherionEventWeightCFG:init()