技能选择规则优化

This commit is contained in:
xiekaidong 2023-06-05 10:46:18 +08:00
parent 5620d697e2
commit ba52482a95

View File

@ -166,7 +166,7 @@ end
function BattleControllerStage:getFixedRogueSkill()
if not self.fixedRogueSkill then
local config = ConfigManager:getConfig("chapter")[self.chapterId]
if config.involved_skill then
if not DataManager.ChapterData:getChapterPassed(self.chapterId) and config.involved_skill then
self.fixedRogueSkill = GFunc.getTable(config.involved_skill)
else
self.fixedRogueSkill = {}