sonic-radiance/sonic-radiance.love/game/abstractmobs/character/datas.lua

12 lines
317 B
Lua
Raw Normal View History

local CharacterData = Object:extend()
local charutils = require "game.utils.characters"
function CharacterData:getCommonData()
self.data = charutils.getCharacterData(self.simplename)
self.name = self.data.name
self.fullname = self.data.fullname
self.turns = self.data.turns
end
return CharacterData