Fish_SquamaExchangeCFG.lua 1.2 KB

12345678910111213141516171819
  1. Fish_SquamaExchangeCFG = {}
  2. function Fish_SquamaExchangeCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_SquamaExchangeCFG:init()
  9. self.datas = {}
  10. 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"}
  11. 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"}
  12. 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"}
  13. 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"}
  14. 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"}
  15. end
  16. Fish_SquamaExchangeCFG:init()