This commit is contained in:
liwei 2023-07-11 19:48:18 +08:00
commit 77c3f7531a

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)