1
This commit is contained in:
parent
fe9f4c7c54
commit
49553aeb0c
@ -1958,9 +1958,25 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
|
|||||||
params->SetVal("rank_score", stats.rank_score);
|
params->SetVal("rank_score", stats.rank_score);
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
double ranked_topx = 0;
|
double ranked_topx = rank / 40;
|
||||||
params->SetVal("ranked_topx", ranked_topx);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user