From 871ccb250fba4219ede78798b7a6edee6d369cce Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Tue, 4 Aug 2020 12:27:33 +0200 Subject: [PATCH] improvement: make the choregraphy viewer ennemy-oriented --- sonic-radiance.love/scenes/debug/menu/init.lua | 2 +- sonic-radiance.love/scenes/debug/viewers/choregraphy/init.lua | 2 +- .../scenes/debug/viewers/choregraphy/mocks/fighter.lua | 2 +- .../scenes/debug/viewers/choregraphy/mocks/target.lua | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonic-radiance.love/scenes/debug/menu/init.lua b/sonic-radiance.love/scenes/debug/menu/init.lua index 807a3eb..f1ac50c 100644 --- a/sonic-radiance.love/scenes/debug/menu/init.lua +++ b/sonic-radiance.love/scenes/debug/menu/init.lua @@ -32,7 +32,7 @@ function DebugMenu:buildBattleMenu() self:addSubMenu("combat", "BaseMenu", "Battle System") menu.commons.SceneWidget(self, "combat", scenes.cbs, "Launch Battle") menu.commons.SceneWidget(self, "combat", scenes.debug.viewers.battleBack, "Background Viewer") - menu.commons.SceneWidget(self, "combat", scenes.debug.viewers.choregraphy, "Choregraphy Viewer") + menu.commons.SceneWidget(self, "combat", scenes.debug.viewers.choregraphy, "Ennemies' Action Viewer") menu.commons.SubMenuWidget(self, "combat", "BaseMenu", "Back") end diff --git a/sonic-radiance.love/scenes/debug/viewers/choregraphy/init.lua b/sonic-radiance.love/scenes/debug/viewers/choregraphy/init.lua index a2cb458..2fec457 100644 --- a/sonic-radiance.love/scenes/debug/viewers/choregraphy/init.lua +++ b/sonic-radiance.love/scenes/debug/viewers/choregraphy/init.lua @@ -28,7 +28,7 @@ function ChoregraphyViewer:buildMenu() end function ChoregraphyViewer:buildCharacterMenu() - self:addSubMenu("characters", "MainMenu", "Characters") + self:addSubMenu("characters", "MainMenu", "Rivals") for k, character in pairs(game.characters.list) do self:addSubMenu(k, "characters", character.fullname) menu.HeroChoregraphyWidget(self, k, game.skills:getSkillData("attack")) diff --git a/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/fighter.lua b/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/fighter.lua index 2cf05e2..2428387 100644 --- a/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/fighter.lua +++ b/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/fighter.lua @@ -20,7 +20,7 @@ end function FighterMock:playHeroChoregraphy(character, data) self.name = character self.abstract = game.characters.list[character] - self.actor = self.scene.world.obj.Hero(self.scene.world, 2, 3, self, 1) + self.actor = self.scene.world.obj.Hero(self.scene.world, 11, 3, self, 1) self.action = ActionMock(self, data) self.action:setTarget(TargetMock(self.scene)) self.action:start() diff --git a/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/target.lua b/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/target.lua index 35d08f6..ac1b448 100644 --- a/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/target.lua +++ b/sonic-radiance.love/scenes/debug/viewers/choregraphy/mocks/target.lua @@ -2,7 +2,7 @@ local TargetMock = Object:extend() function TargetMock:new(scene) self.scene = scene - self.actor = self.scene.world.obj.Battler(self.scene.world, 11, 3, 0, self) + self.actor = self.scene.world.obj.Battler(self.scene.world, 2, 3, 0, self) end return TargetMock