* #27921 缺陷 【梦工场系统】 【觉醒】啊啊三阶段觉醒没显示加成 版署同步

This commit is contained in:
meixiongfeng 2023-07-17 14:28:52 +08:00
parent cfe87600c3
commit 844ea31898

View File

@ -204,10 +204,11 @@ func (this *ModelHero) resetJuexingProperty(hero *pb.DBHero) {
continue
}
key := awakenData.Phasebonus[0]
value, err := strconv.Atoi(awakenData.Phasebonus[1])
_, err := strconv.Atoi(awakenData.Phasebonus[0]) // 950
if err != nil {
continue
}
value, _ := strconv.Atoi(awakenData.Phasebonus[1])
switch key {
case comm.Hp:
hero.JuexProperty[comm.Hp] += int32(value)