Odds2_Room.lua 1.6 KB

123456789101112131415161718192021222324252627
  1. Odds2_Room = {}
  2. function Odds2_Room:getData(key)
  3. if self.datas == nil then
  4. return nil
  5. end
  6. return self.datas[key]
  7. end
  8. function Odds2_Room:init()
  9. self.datas = {}
  10. self.datas[1] = {RoomID = 1, LaserAdd = 7000, LaserReduce = 0, FormationAdd = 4500, FormationReduce = 0}
  11. self.datas[2] = {RoomID = 2, LaserAdd = 6000, LaserReduce = 1000, FormationAdd = 3500, FormationReduce = 2000}
  12. self.datas[3] = {RoomID = 3, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 4000, FormationReduce = 4500}
  13. self.datas[4] = {RoomID = 4, LaserAdd = 4000, LaserReduce = 3000, FormationAdd = 4000, FormationReduce = 3000}
  14. self.datas[5] = {RoomID = 5, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  15. self.datas[6] = {RoomID = 6, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  16. self.datas[7] = {RoomID = 7, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  17. self.datas[8] = {RoomID = 8, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  18. self.datas[9] = {RoomID = 9, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  19. self.datas[10] = {RoomID = 10, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  20. self.datas[11] = {RoomID = 11, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  21. self.datas[15] = {RoomID = 15, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  22. self.datas[20] = {RoomID = 20, LaserAdd = 5000, LaserReduce = 2000, FormationAdd = 5000, FormationReduce = 2000}
  23. end
  24. Odds2_Room:init()