12345678910111213141516171819 |
- Fish_SquamaExchangeCFG = {}
- function Fish_SquamaExchangeCFG:getData(key)
- if self.datas == nil then
- return nil
- end
- return self.datas[key]
- end
- function Fish_SquamaExchangeCFG:init()
- self.datas = {}
- self.datas[1] = {ID = 1, Price = 35, DiscountGift = {36,233}, SalePrice = {27,28,29}, FinalPrice = 33, RewardList = {1,23}, RewardCount = {30000,1}, Rate = {4000,6000}, GoldIcon = "M_Gold2"}
- self.datas[2] = {ID = 2, Price = 115, DiscountGift = {36,233}, SalePrice = {90 ,95,100}, FinalPrice = 113 , RewardList = {1,24}, RewardCount = {100000,1}, Rate = {4000,6000}, GoldIcon = "M_Gold3"}
- self.datas[3] = {ID = 3, Price = 450, DiscountGift = {36,233}, SalePrice = {405,410,420}, FinalPrice = 445 , RewardList = {1,25}, RewardCount = {400000,1}, Rate = {7500,2500}, GoldIcon = "M_Gold4"}
- self.datas[4] = {ID = 4, Price = 1150, DiscountGift = {37,230}, SalePrice = {1035,1060,1070}, FinalPrice = 1130 , RewardList = {1,26}, RewardCount = {1000000,1}, Rate = {8000,2000}, GoldIcon = "M_Gold5"}
- self.datas[5] = {ID = 5, Price = 4500, DiscountGift = {37,230}, SalePrice = {4050,4150,4200}, FinalPrice = 4410 , RewardList = {1,27}, RewardCount = {4000000,1}, Rate = {8000,2000}, GoldIcon = "M_Gold6"}
- end
- Fish_SquamaExchangeCFG:init()
|