Odds2_Profit.lua 1.1 KB

1234567891011121314151617181920212223242526272829
  1. Odds2_Profit = {}
  2. function Odds2_Profit:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Odds2_Profit:init()
  9. self.datas = {}
  10. self.datas[4000] = {Profit = 4000, RandLower = 0, RandUpper = 0}
  11. self.datas[100] = {Profit = 100, RandLower = 0, RandUpper = 0}
  12. self.datas[50] = {Profit = 50, RandLower = 0, RandUpper = 0}
  13. self.datas[30] = {Profit = 30, RandLower = 0, RandUpper = 0}
  14. self.datas[15] = {Profit = 15, RandLower = 0, RandUpper = 0}
  15. self.datas[7] = {Profit = 7, RandLower = 0, RandUpper = 0}
  16. self.datas[2] = {Profit = 2, RandLower = 0, RandUpper = 0}
  17. self.datas[0] = {Profit = 0, RandLower = 0, RandUpper = 0}
  18. self.datas[-2] = {Profit = -2, RandLower = 0, RandUpper = 0}
  19. self.datas[-7] = {Profit = -7, RandLower = 0, RandUpper = 0}
  20. self.datas[-15] = {Profit = -15, RandLower = 0, RandUpper = 0}
  21. self.datas[-30] = {Profit = -30, RandLower = 0, RandUpper = 0}
  22. self.datas[-50] = {Profit = -50, RandLower = 0, RandUpper = 0}
  23. self.datas[-100] = {Profit = -100, RandLower = 0, RandUpper = 0}
  24. self.datas[-9999999] = {Profit = -9999999, RandLower = 0, RandUpper = 0}
  25. end
  26. Odds2_Profit:init()