1 |
Indeed. Note that inserting the following code in line 241 is not enough:
|
1 |
Indeed. Note that inserting the following code in line 241 is not enough:
|
2 |
{{{if (Duration >= GlobalConst.MinDurationForXP)
|
2 |
{{{if (Duration >= GlobalConst.MinDurationForXP)
|
3 |
{
|
3 |
{
|
4 |
WinnerTeamXpChange = (int)(20 + (300 + 600 * (1 - eWin)) / (3.0 + winners.Count));
|
4 |
WinnerTeamXpChange = (int)(20 + (300 + 600 * (1 - eWin)) / (3.0 + winners.Count));
|
5 |
LoserTeamXpChange = (int)(20 + (200 + 400 * (1 - eLose)) / (2.0 + losers.Count));
|
5 |
LoserTeamXpChange = (int)(20 + (200 + 400 * (1 - eLose)) / (2.0 + losers.Count));
|
6 |
}
|
6 |
}
|
7 |
else
|
7 |
else
|
8 |
{
|
8 |
{
|
9 |
WinnerTeamXpChange = 0;
|
9 |
WinnerTeamXpChange = 0;
|
10 |
LoserTeamXpChange = 0;
|
10 |
LoserTeamXpChange = 0;
|
11 |
} }}}
|
11 |
} }}}
|
12 |
It would still use team elo for 1v1s on silly maps or with noelo. Additionally the code from line 162 to 177 has to be put to line 183 and a noelo/silly maps exception has to be added to Calculate1v1Elo().
|
12 |
It would still use team elo for 1v1s on silly maps or with noelo. Additionally the code from line 162 to 177 has to be put to line 183 and a noelo/silly maps exception has to be added to Calculate1v1Elo().
|
13 |
\n
|
13 |
\n
|
14 |
@Skasi
I
think
eWin
and
eLose
are
locally
overwritten
in
Calculate1v1Elo(
)
.
{
{
{
EffectiveElo
=
Elo
+
(
EloWeightMax
-
EloWeight)
*
EloWeightMalusFactor}
}
}
|
14 |
@Skasi
I
think
eWin
and
eLose
are
locally
overwritten
in
Calculate1v1Elo(
)
,
so
that's
no
problem.
"Elo"
is
an
account's
team
elo
and
"Elo1v1"
is
1v1
elo
as
you
can
find
in
[url=https://github.
com/ZeroK-RTS/Zero-K-Infrastructure/blob/fb41815993843f0facae823206ea0bbf5bbee90d/ZkData/Ef/Account.
cs]Account.
cs[/url].
{
{
{
EffectiveElo
=
Elo
+
(
EloWeightMax
-
EloWeight)
*
EloWeightMalusFactor}
}
}
|