bug修复
This commit is contained in:
parent
ac9bea5776
commit
70058e8cc6
@ -901,7 +901,7 @@ function BattleController:generateInstructions(skillEntity, elementType, lineCou
|
|||||||
|
|
||||||
---- 技能
|
---- 技能
|
||||||
if skillEntity then
|
if skillEntity then
|
||||||
if elementType == skillEntity:getMatchType() then
|
if elementType == skillEntity:getPosition() then
|
||||||
table.insert(self.instructions, {
|
table.insert(self.instructions, {
|
||||||
name = BattleConst.INSTRUCTION_NAME.PLAY_SKILL,
|
name = BattleConst.INSTRUCTION_NAME.PLAY_SKILL,
|
||||||
skillMatch = elementType,
|
skillMatch = elementType,
|
||||||
|
|||||||
@ -155,6 +155,9 @@ function BattleControllerStage:controllBattleEnd()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if not self.victory then
|
||||||
|
self.combatReport.wave = self.combatReport.wave - 1
|
||||||
|
end
|
||||||
ModuleManager.ChapterManager:endFight(self.chapterId, self.combatReport)
|
ModuleManager.ChapterManager:endFight(self.chapterId, self.combatReport)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user