Fish_TherionTreasureCFG.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. Fish_TherionTreasureCFG = {}
  2. function Fish_TherionTreasureCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_TherionTreasureCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, DrawType = 1, RosefinchRate = {350,450}, RosefinchWeight = 240}
  11. self.datas[2] = {ID = 2, DrawType = 1, RosefinchRate = {450,550}, RosefinchWeight = 280}
  12. self.datas[3] = {ID = 3, DrawType = 1, RosefinchRate = {550,650}, RosefinchWeight = 300}
  13. self.datas[4] = {ID = 4, DrawType = 1, RosefinchRate = {650,750}, RosefinchWeight = 60}
  14. self.datas[5] = {ID = 5, DrawType = 1, RosefinchRate = {750,850}, RosefinchWeight = 10}
  15. self.datas[6] = {ID = 6, DrawType = 1, RosefinchRate = {850,950}, RosefinchWeight = 5}
  16. self.datas[7] = {ID = 7, DrawType = 1, RosefinchRate = {950,1100}, RosefinchWeight = 100}
  17. self.datas[8] = {ID = 8, DrawType = 1, RosefinchRate = {1100,1200}, RosefinchWeight = 5}
  18. self.datas[9] = {ID = 9, DrawType = 2, RosefinchRate = {400,450}, RosefinchWeight = 100}
  19. self.datas[10] = {ID = 10, DrawType = 2, RosefinchRate = {450,550}, RosefinchWeight = 200}
  20. self.datas[11] = {ID = 11, DrawType = 2, RosefinchRate = {550,650}, RosefinchWeight = 250}
  21. self.datas[12] = {ID = 12, DrawType = 2, RosefinchRate = {650,750}, RosefinchWeight = 165}
  22. self.datas[13] = {ID = 13, DrawType = 2, RosefinchRate = {750,850}, RosefinchWeight = 130}
  23. self.datas[14] = {ID = 14, DrawType = 2, RosefinchRate = {950,1100}, RosefinchWeight = 100}
  24. self.datas[15] = {ID = 15, DrawType = 2, RosefinchRate = {1100,1200}, RosefinchWeight = 50}
  25. self.datas[16] = {ID = 16, DrawType = 2, RosefinchRate = {1200,1300}, RosefinchWeight = 2}
  26. self.datas[17] = {ID = 17, DrawType = 2, RosefinchRate = {1300,1500}, RosefinchWeight = 1}
  27. self.datas[18] = {ID = 18, DrawType = 2, RosefinchRate = {1500,2000}, RosefinchWeight = 1}
  28. self.datas[19] = {ID = 19, DrawType = 2, RosefinchRate = {2000,3000}, RosefinchWeight = 1}
  29. end
  30. Fish_TherionTreasureCFG:init()