```
feat(fight_tawor): 修复试炼之塔和勇者之塔关卡进度计算逻辑 - 修正试炼之塔关卡进度计算,将 CurrentFreshStage 的计算公式调整为 (Level-1)*10 + 1 - 修正勇者之塔关卡进度计算,将 CurrentStage 的计算公式调整为 (Level-1)*10 + 1 - 移除多余的空格,统一计算表达式格式 ```
This commit is contained in:
@@ -36,9 +36,9 @@ func (h Controller) FreshChoiceFightLevel(data *fight.C2S_FRESH_CHOICE_FIGHT_LEV
|
||||
switch data.Head.CMD {
|
||||
case 2428: //试炼之塔
|
||||
|
||||
c.Info.CurrentFreshStage = uint32((data.Level - 1) * 10)
|
||||
c.Info.CurrentFreshStage = uint32((data.Level-1)*10) + 1
|
||||
case 2414: //勇者之塔
|
||||
c.Info.CurrentStage = uint32((data.Level - 1) * 10)
|
||||
c.Info.CurrentStage = uint32((data.Level-1)*10) + 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user