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

This commit is contained in:
meixiongfeng 2023-07-11 19:20:21 +08:00
parent ae8631a2c2
commit 91eed5d252

View File

@ -204,11 +204,11 @@ func (this *ModelHero) resetJuexingProperty(hero *pb.DBHero) {
continue continue
} }
for _, v := range awakenData.Phasebonus { for _, v := range awakenData.Phasebonus {
value, err := strconv.Atoi(v.S) _, err := strconv.Atoi(v.S)
if err == nil { if err == nil {
continue continue
} }
value := v.D
switch v.S { switch v.S {
case comm.Hp: case comm.Hp:
hero.JuexProperty[comm.Hp] += int32(value) hero.JuexProperty[comm.Hp] += int32(value)