【鸿蒙阵】使者处于突破等级且突破,共鸣神将不算突破

dev_chengFeng
ZhangBiao 2021-07-08 18:41:14 +08:00
parent c723fa04af
commit fc8e199a43
1 changed files with 3 additions and 3 deletions

View File

@ -3562,10 +3562,10 @@ function this.SetAllStarBreakIdData()
for key, configInfo in ConfigPairs(ConfigManager.GetConfig(ConfigName.HeroRankupConfig)) do
if configInfo.Type == 1 then
if curAllStarBreakIdData[configInfo.Star] then
curAllStarBreakIdData[configInfo.Star][configInfo.OpenLevel] = key
curAllStarBreakIdData[configInfo.Star][configInfo.LimitLevel] = key
else
curAllStarBreakIdData[configInfo.Star] = {}
curAllStarBreakIdData[configInfo.Star][configInfo.OpenLevel] = key
curAllStarBreakIdData[configInfo.Star][configInfo.LimitLevel] = key
end
end
end
@ -3574,7 +3574,7 @@ function this.GetAllStarBreakIdData(sid,lv)
local curHeroConFig = heroConfig[sid]
local endBreakId = 0
for key, value in pairs(curAllStarBreakIdData[curHeroConFig.Star]) do
if lv >= key and endBreakId < value then
if lv > key and endBreakId < value then
endBreakId = value
end
end