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