Skip to content

Commit

Permalink
Change the way CK3 development from I:R is calculated (#1971) #patch
Browse files Browse the repository at this point in the history
Previously, the development calculated for a CK3 province was an average
of the civilisation values from corresponding Imperator provinces. Now
it's a sum.
  • Loading branch information
IhateTrains authored Jun 3, 2024
1 parent f03ba2d commit e8c73dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImperatorToCK3/CK3/Titles/LandedTitles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ double CalculateCountyDevelopment(Title county, IReadOnlyDictionary<ulong, int>
continue;
}

dev += sourceProvinces.Average(srcProv => srcProv.CivilizationValue / ck3ProvsPerIRProv[srcProv.Id]);
dev += sourceProvinces.Sum(srcProv => srcProv.CivilizationValue / ck3ProvsPerIRProv[srcProv.Id]);
}

dev *= irCivilizationWorth;
Expand Down

0 comments on commit e8c73dd

Please sign in to comment.