diff --git a/sonic-radiance.love/datas/gamedata/characters/sonic/init.lua b/sonic-radiance.love/datas/gamedata/characters/sonic/init.lua index 9bbc761..232d1de 100644 --- a/sonic-radiance.love/datas/gamedata/characters/sonic/init.lua +++ b/sonic-radiance.love/datas/gamedata/characters/sonic/init.lua @@ -5,6 +5,7 @@ return { speed = 5, jump = 3, turns = 3, + move = 3, startlevel = 50, diff --git a/sonic-radiance.love/scenes/battlesystem/actors/hero.lua b/sonic-radiance.love/scenes/battlesystem/actors/hero.lua index 9c0cab3..f685162 100644 --- a/sonic-radiance.love/scenes/battlesystem/actors/hero.lua +++ b/sonic-radiance.love/scenes/battlesystem/actors/hero.lua @@ -38,7 +38,7 @@ end function Hero:setActive() core.debug:print("cbs/hero", "hero " .. self.charid .. " is now active") - local gridsize = game.characters.list[self.charid].base_stats.move + local gridsize = game.characters.list[self.charid].move if (gridsize == nil) then gridsize = 3 core.debug:warning("cbs/character", "move value is nil")