M_ActivityKingCraftLottery = {} function M_ActivityKingCraftLottery:getData(key) if self.datas == nil then return nil end return self.datas[key] end function M_ActivityKingCraftLottery:init() self.datas = {} self.datas[1] = {ID = 1, Weight = 5, ItemID = 292, ItemCount = 1} self.datas[2] = {ID = 2, Weight = 20, ItemID = 292, ItemCount = 2} self.datas[3] = {ID = 3, Weight = 30, ItemID = 292, ItemCount = 3} self.datas[4] = {ID = 4, Weight = 40, ItemID = 292, ItemCount = 4} self.datas[5] = {ID = 5, Weight = 80, ItemID = 292, ItemCount = 5} self.datas[6] = {ID = 6, Weight = 80, ItemID = 292, ItemCount = 6} self.datas[7] = {ID = 7, Weight = 80, ItemID = 292, ItemCount = 7} self.datas[8] = {ID = 8, Weight = 80, ItemID = 292, ItemCount = 8} self.datas[9] = {ID = 9, Weight = 80, ItemID = 292, ItemCount = 9} self.datas[10] = {ID = 10, Weight = 140, ItemID = 292, ItemCount = 10} self.datas[11] = {ID = 11, Weight = 70, ItemID = 292, ItemCount = 11} self.datas[12] = {ID = 12, Weight = 60, ItemID = 292, ItemCount = 12} self.datas[13] = {ID = 13, Weight = 50, ItemID = 292, ItemCount = 13} self.datas[14] = {ID = 14, Weight = 40, ItemID = 292, ItemCount = 14} self.datas[15] = {ID = 15, Weight = 35, ItemID = 292, ItemCount = 15} self.datas[16] = {ID = 16, Weight = 30, ItemID = 292, ItemCount = 16} self.datas[17] = {ID = 17, Weight = 25, ItemID = 292, ItemCount = 17} self.datas[18] = {ID = 18, Weight = 20, ItemID = 292, ItemCount = 18} self.datas[19] = {ID = 19, Weight = 10, ItemID = 292, ItemCount = 19} self.datas[20] = {ID = 20, Weight = 10, ItemID = 292, ItemCount = 20} self.datas[21] = {ID = 21, Weight = 5, ItemID = 292, ItemCount = 25} self.datas[22] = {ID = 22, Weight = 4, ItemID = 292, ItemCount = 30} self.datas[23] = {ID = 23, Weight = 3, ItemID = 292, ItemCount = 35} self.datas[24] = {ID = 24, Weight = 2, ItemID = 292, ItemCount = 40} self.datas[25] = {ID = 25, Weight = 1, ItemID = 292, ItemCount = 50} end M_ActivityKingCraftLottery:init()