diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index ad900d9f9..9b63fe75c 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -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)