diff --git a/logic/service/fight/input.go b/logic/service/fight/input.go index bb07a14f..ca047e1f 100644 --- a/logic/service/fight/input.go +++ b/logic/service/fight/input.go @@ -194,6 +194,11 @@ func (f *FightC) initplayer(c common.PlayerI) (*input.Input, errorcode.ErrorCode pet.Prop = [5]uint32(v.Prop) + } + + if v.Hp != 0 { + pet.MaxHp = uint32(v.Hp) + } if len(v.SKill) != 0 {