12345678910111213141516171819202122232425 |
- M_hero = {}
- function M_hero:getData(key)
- if self.datas == nil then
- return nil
- end
- return self.datas[key]
- end
- function M_hero:init()
- self.datas = {}
- self.datas[1002] = {ID = 1002, name = "圣天使", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 2, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1003] = {ID = 1003, name = "英雄3", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 3, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1004] = {ID = 1004, name = "英雄4", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 4, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1005] = {ID = 1005, name = "英雄5", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 1, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1006] = {ID = 1006, name = "英雄6", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 2, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1007] = {ID = 1007, name = "英雄7", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 3, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1008] = {ID = 1008, name = "英雄8", grade_type = 1, default_have = 1, skill_id = 1001, attribute = 4, atk = 15, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1009] = {ID = 1009, name = "传说英雄1", grade_type = 2, default_have = 0, skill_id = 1001, attribute = 1, atk = 20, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1010] = {ID = 1010, name = "传说英雄2", grade_type = 2, default_have = 0, skill_id = 1001, attribute = 2, atk = 20, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1011] = {ID = 1011, name = "传说英雄3", grade_type = 2, default_have = 0, skill_id = 1001, attribute = 3, atk = 20, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- self.datas[1012] = {ID = 1012, name = "传说英雄4", grade_type = 2, default_have = 0, skill_id = 1001, attribute = 4, atk = 20, icon = "", aspect = "hero1001", speed = 1, zoom_factor = 1}
- end
- M_hero:init()
|