12345678910111213141516171819202122232425262728293031 |
- M_ActivityLuckyFishCFG = {}
- function M_ActivityLuckyFishCFG:getData(key)
- if self.datas == nil then
- return nil
- end
- return self.datas[key]
- end
- function M_ActivityLuckyFishCFG:init()
- self.datas = {}
- self.datas[1] = {ID = 1, minRate = 100, maxRate = 120, weight = 20}
- self.datas[2] = {ID = 2, minRate = 120, maxRate = 140, weight = 40}
- self.datas[3] = {ID = 3, minRate = 140, maxRate = 160, weight = 40}
- self.datas[4] = {ID = 4, minRate = 160, maxRate = 180, weight = 60}
- self.datas[5] = {ID = 5, minRate = 180, maxRate = 200, weight = 60}
- self.datas[6] = {ID = 6, minRate = 200, maxRate = 220, weight = 80}
- self.datas[7] = {ID = 7, minRate = 220, maxRate = 250, weight = 80}
- self.datas[8] = {ID = 8, minRate = 250, maxRate = 300, weight = 90}
- self.datas[9] = {ID = 9, minRate = 300, maxRate = 350, weight = 90}
- self.datas[10] = {ID = 10, minRate = 350, maxRate = 500, weight = 100}
- self.datas[11] = {ID = 11, minRate = 500, maxRate = 600, weight = 100}
- self.datas[12] = {ID = 12, minRate = 600, maxRate = 700, weight = 80}
- self.datas[13] = {ID = 13, minRate = 700, maxRate = 900, weight = 60}
- self.datas[14] = {ID = 14, minRate = 900, maxRate = 1100, weight = 50}
- self.datas[15] = {ID = 15, minRate = 1100, maxRate = 1300, weight = 48}
- self.datas[16] = {ID = 16, minRate = 1300, maxRate = 1500, weight = 1}
- self.datas[17] = {ID = 17, minRate = 1500, maxRate = 2000, weight = 1}
- end
- M_ActivityLuckyFishCFG:init()
|