improvement: make the choregraphy viewer ennemy-oriented
This commit is contained in:
parent
b5c6cf0b1f
commit
871ccb250f
4 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ function DebugMenu:buildBattleMenu()
|
||||||
self:addSubMenu("combat", "BaseMenu", "Battle System")
|
self:addSubMenu("combat", "BaseMenu", "Battle System")
|
||||||
menu.commons.SceneWidget(self, "combat", scenes.cbs, "Launch Battle")
|
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.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")
|
menu.commons.SubMenuWidget(self, "combat", "BaseMenu", "Back")
|
||||||
end
|
end
|
||||||
|
|
|
@ -28,7 +28,7 @@ function ChoregraphyViewer:buildMenu()
|
||||||
end
|
end
|
||||||
|
|
||||||
function ChoregraphyViewer:buildCharacterMenu()
|
function ChoregraphyViewer:buildCharacterMenu()
|
||||||
self:addSubMenu("characters", "MainMenu", "Characters")
|
self:addSubMenu("characters", "MainMenu", "Rivals")
|
||||||
for k, character in pairs(game.characters.list) do
|
for k, character in pairs(game.characters.list) do
|
||||||
self:addSubMenu(k, "characters", character.fullname)
|
self:addSubMenu(k, "characters", character.fullname)
|
||||||
menu.HeroChoregraphyWidget(self, k, game.skills:getSkillData("attack"))
|
menu.HeroChoregraphyWidget(self, k, game.skills:getSkillData("attack"))
|
||||||
|
|
|
@ -20,7 +20,7 @@ end
|
||||||
function FighterMock:playHeroChoregraphy(character, data)
|
function FighterMock:playHeroChoregraphy(character, data)
|
||||||
self.name = character
|
self.name = character
|
||||||
self.abstract = game.characters.list[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 = ActionMock(self, data)
|
||||||
self.action:setTarget(TargetMock(self.scene))
|
self.action:setTarget(TargetMock(self.scene))
|
||||||
self.action:start()
|
self.action:start()
|
||||||
|
|
|
@ -2,7 +2,7 @@ local TargetMock = Object:extend()
|
||||||
|
|
||||||
function TargetMock:new(scene)
|
function TargetMock:new(scene)
|
||||||
self.scene = 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
|
end
|
||||||
|
|
||||||
return TargetMock
|
return TargetMock
|
||||||
|
|
Loading…
Reference in a new issue