diff --git a/modules/hero/model_hero.go b/modules/hero/model_hero.go index 714544571..f1645577d 100644 --- a/modules/hero/model_hero.go +++ b/modules/hero/model_hero.go @@ -264,7 +264,7 @@ func (this *ModelHero) setJuexingProperty(hero *pb.DBHero, key string, value int case comm.ResonanceAtkPro: hero.JuexProperty[comm.Atk] += int32(math.Floor((float64(value) / 1000) * float64(hero.Property[comm.Atk]))) case comm.ResonanceDefPro: - hero.JuexProperty[comm.Def] += int32(math.Floor((float64(value) / 1000)) * float64(hero.Property[comm.Def])) + hero.JuexProperty[comm.Def] += int32(math.Floor((float64(value) / 1000) * float64(hero.Property[comm.Def]))) } }