1 |
[quote]lastTeamNe is not relevant for payback[/quote]
|
1 |
[quote]lastTeamNe is not relevant for payback[/quote]
|
2 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L932]L932[/url]:
incTakeNE
=
te.
eInc
-
lastTeamNe[teamID]
|
2 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L932]L932[/url]:
[i]incTakeNE
=
te.
eInc
-
lastTeamNe[teamID][/i]
|
3 |
This means incTakeNe takes it into account.
|
3 |
This means incTakeNe takes it into account.
|
4 |
\n
|
4 |
\n
|
5 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L933]L933[/url]:
allyTeamEnergyIncome
=
allyTeamEnergyIncome
+
incTakeNE
|
5 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L933]L933[/url]:
[i]allyTeamEnergyIncome
=
allyTeamEnergyIncome
+
incTakeNE[/i]
|
6 |
This
mean
allyTeamEnergyIncome
is
just
a
sum
of
the
allyteam's
incTakeNE's
so
it
does
take
it
into
account
too.
|
6 |
This
means
allyTeamEnergyIncome
is
just
a
sum
of
the
allyteam's
incTakeNE's
so
it
does
take
it
into
account
too.
|
7 |
\n
|
7 |
\n
|
8 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L1208]L1208[/url]:
local
repayMetal
=
inc/allyTeamEnergyIncome
*
summedOverdrive
*
paybackFactorFunction(
repayRatio)
|
8 |
[url=https://github.
com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_mex_overdrive.
lua#L1208]L1208[/url]:
[i]local
repayMetal
=
inc/allyTeamEnergyIncome
*
summedOverdrive
*
paybackFactorFunction(
repayRatio)
[/i]
|
9 |
Here is the payback amount: allyTeamEnergyIncome is used here as the total so lastTeamNe is relevant.
|
9 |
Here is the payback amount: allyTeamEnergyIncome is used here as the total so lastTeamNe is relevant.
|