This commit is contained in:
aozhiwei 2024-03-18 16:52:07 +08:00
parent e64b32dec1
commit 08dfa906c9
2 changed files with 2 additions and 2 deletions

View File

@ -949,7 +949,7 @@ void Human::FillMFTeamData(Human* hum, cs::MFTeamData* team_data, bool is_game_o
team_data->set_hero_exp(GetHeroExp());
team_data->set_hero_max_exp(GetHeroMaxExp());
team_data->set_score(stats->pve_rank_score);
team_data->set_main_skill_useable(GetMainSkill()->GetLeftTime() <= 0);
team_data->set_main_skill_cd(GetMainSkill()->GetLeftTime());
if (is_game_over || !real_dead || room->GetFrameNo() - GetRealDeadFrameNo(room) < 4) {
TypeConvert::ToPb(GetPos(), team_data->mutable_pos());
TypeConvert::ToPb(GetAttackDir(), team_data->mutable_dir());

View File

@ -724,7 +724,7 @@ message MFTeamData
optional int32 hero_level = 72; //hero等级
optional int32 hero_exp = 73; //hero经验
optional int32 hero_max_exp = 74; //hero max经验
optional int32 main_skill_useable = 80 [default = 0]; //使
optional int32 main_skill_cd = 80 [default = 0]; //cd时间
//
optional string account_id = 10; //id