This commit is contained in:
aozhiwei 2022-05-28 13:16:48 +08:00
parent fe9f4c7c54
commit 49553aeb0c

View File

@ -1958,9 +1958,25 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
params->SetVal("rank_score", stats.rank_score);
{
{
double ranked_topx = 0;
double ranked_topx = rank / 40;
params->SetVal("ranked_topx", ranked_topx);
}
{
double kills_topx = rank / 40;
params->SetVal("kills_topx", kills_topx);
}
{
double hero_topx = rank / 40;
params->SetVal("hero_topx", hero_topx);
}
{
double weapon_topx = rank / 40;
params->SetVal("weapon_topx", weapon_topx);
}
{
double survival_topx = rank / 40;
params->SetVal("survival_topx", survival_topx);
}
}
}