最大血量

This commit is contained in:
aozhiwei 2019-04-16 13:54:47 +08:00
parent 2633482fe2
commit 813095f368
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ void Human::FillMFTeamData(cs::MFTeamData* team_data)
pos.ToPB(team_data->mutable_pos());
attack_dir.ToPB(team_data->mutable_dir());
team_data->set_health(health);
team_data->set_max_health(GetMaxHP());
team_data->set_disconnected(false);
team_data->set_dead(dead);
team_data->set_downed(downed);

View File

@ -414,6 +414,7 @@ message MFTeamData
optional bool dead = 6; //
optional bool downed = 7; //
optional string name = 8; //
optional float max_health = 9; //
}
//