Fish_DiceFishCFG.lua 422 B

1234567891011121314151617
  1. Fish_DiceFishCFG = {}
  2. function Fish_DiceFishCFG:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Fish_DiceFishCFG:init()
  9. self.datas = {}
  10. self.datas[1] = {Rotation = 1, Magnification = 2, Probability = 65}
  11. self.datas[2] = {Rotation = 2, Magnification = 2, Probability = 60}
  12. self.datas[3] = {Rotation = 3, Magnification = 2, Probability = 55}
  13. end
  14. Fish_DiceFishCFG:init()