mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-12 19:10:12 +07:00
City-states no longer accumulate points towards Great Generals
This commit is contained in:
parent
8639fc6e1c
commit
14b99aa010
@ -242,6 +242,7 @@ object Battle {
|
||||
thisCombatant.unit.promotions.XP += XPGained
|
||||
|
||||
|
||||
if(thisCombatant.getCivInfo().isMajorCiv()) {
|
||||
var greatGeneralPointsModifier = 1f
|
||||
if (thisCombatant.getCivInfo().nation.unique == UniqueAbility.ART_OF_WAR)
|
||||
greatGeneralPointsModifier += 0.5f
|
||||
@ -251,6 +252,7 @@ object Battle {
|
||||
val greatGeneralPointsGained = (XPGained * greatGeneralPointsModifier).toInt()
|
||||
thisCombatant.getCivInfo().greatPeople.greatGeneralPoints += greatGeneralPointsGained
|
||||
}
|
||||
}
|
||||
|
||||
private fun conquerCity(city: CityInfo, attacker: ICombatant) {
|
||||
val attackerCiv = attacker.getCivInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user