战斗属性使用角色结构数据

This commit is contained in:
UnKownOwO
2023-02-04 18:07:37 +08:00
parent cc01a3c846
commit 67821ba780
2 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -709,8 +709,8 @@ func (g *GameManager) PacketSceneEntityInfoAvatar(scene *Scene, player *model.Pl
Val: int64(avatar.SatiationPenalty)},
},
},
FightPropList: g.PacketFightPropMapToPbFightPropList(entity.fightProp),
LifeState: uint32(entity.lifeState),
FightPropList: g.PacketFightPropMapToPbFightPropList(avatar.FightPropMap),
LifeState: uint32(avatar.LifeState),
AnimatorParaList: make([]*proto.AnimatorParameterValueInfoPair, 0),
Entity: &proto.SceneEntityInfo_Avatar{
Avatar: g.PacketSceneAvatarInfo(scene, player, avatarId),