Influence gained by liberating a CS is a bit over the top.
Opened this issue · 4 comments
saamohod commented
RecursiveVision commented
What, no save game and mod list? No save game and mod list, NO FIX!
// Influence for liberator
int iNewInfluence = max(iHighestOtherMajorInfluence + /*105*/ GD_INT_GET(MINOR_LIBERATION_FRIENDSHIP), GetBaseFriendshipWithMajor(eLiberator) + /*105*/ GD_INT_GET(MINOR_LIBERATION_FRIENDSHIP));
if (MOD_BALANCE_VP)
{
int iEra = GET_PLAYER(eLiberator).GetCurrentEra();
if (iEra <= 0)
iEra = 1;
iNewInfluence *= iEra;
// Were we liberated from Barbarians? Less influence for you!
if (eConquerorTeam == BARBARIAN_TEAM)
iNewInfluence /= 2;
}
iNewInfluence = max(GetAlliesThreshold(eLiberator) + 10, iNewInfluence); // Must be at least enough to make us allies
saamohod commented
danielsolaro commented
azum4roll commented
What, no save game and mod list? No save game and mod list, NO FIX!
// Influence for liberator int iNewInfluence = max(iHighestOtherMajorInfluence + /*105*/ GD_INT_GET(MINOR_LIBERATION_FRIENDSHIP), GetBaseFriendshipWithMajor(eLiberator) + /*105*/ GD_INT_GET(MINOR_LIBERATION_FRIENDSHIP)); if (MOD_BALANCE_VP) { int iEra = GET_PLAYER(eLiberator).GetCurrentEra(); if (iEra <= 0) iEra = 1; iNewInfluence *= iEra; // Were we liberated from Barbarians? Less influence for you! if (eConquerorTeam == BARBARIAN_TEAM) iNewInfluence /= 2; } iNewInfluence = max(GetAlliesThreshold(eLiberator) + 10, iNewInfluence); // Must be at least enough to make us allies
It looks intended with this formula? Contender has 4500 influence, +105 is 4605, scaling with era (x4) makes it 18420.
Whatever mods you're playing that makes someone have 4500 influence is the problem.
That said, I don't think the contender influence should be scaling with era. Only the 105 constant should.