M_ActivityIntegralDrawCFG.lua 921 B

1234567891011121314151617181920212223
  1. M_ActivityIntegralDrawCFG = {}
  2. function M_ActivityIntegralDrawCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function M_ActivityIntegralDrawCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {ID = 1, ItemIDs = {16}, ItemCounts = {50}, weight = 80}
  11. self.datas[2] = {ID = 2, ItemIDs = {24}, ItemCounts = {1}, weight = 330}
  12. self.datas[3] = {ID = 3, ItemIDs = {1}, ItemCounts = {100000}, weight = 400}
  13. self.datas[4] = {ID = 4, ItemIDs = {25}, ItemCounts = {1}, weight = 60}
  14. self.datas[5] = {ID = 5, ItemIDs = {1}, ItemCounts = {300000}, weight = 105}
  15. self.datas[6] = {ID = 6, ItemIDs = {26}, ItemCounts = {1}, weight = 5}
  16. self.datas[7] = {ID = 7, ItemIDs = {1}, ItemCounts = {500000}, weight = 16}
  17. self.datas[8] = {ID = 8, ItemIDs = {94}, ItemCounts = {1}, weight = 3}
  18. self.datas[9] = {ID = 9, ItemIDs = {27}, ItemCounts = {1}, weight = 1}
  19. end
  20. M_ActivityIntegralDrawCFG:init()