优化显示

This commit is contained in:
xiekaidong 2023-09-18 11:40:42 +08:00
parent 1979075235
commit c9d73ceaf6

View File

@ -174,6 +174,7 @@ function BattleActPvpResultUI:refreshBountyNode()
lastExp = exp lastExp = exp
end end
if lastLevel ~= curLevel then
local calExp = lastExp local calExp = lastExp
for i = lastLevel, curLevel - 1 do for i = lastLevel, curLevel - 1 do
local need = DataManager.ActPvpData:getBountyLevelExp(i) local need = DataManager.ActPvpData:getBountyLevelExp(i)
@ -183,6 +184,9 @@ function BattleActPvpResultUI:refreshBountyNode()
end end
end end
addExp = addExp + exp addExp = addExp + exp
else
addExp = exp - lastExp
end
local lastNeedExp = DataManager.ActPvpData:getBountyLevelExp(lastLevel) local lastNeedExp = DataManager.ActPvpData:getBountyLevelExp(lastLevel)
local oldSliderValue = 0 local oldSliderValue = 0