mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-28 08:30:31 +07:00
Proper great general points (#5329)
This commit is contained in:
parent
2e72fd52c8
commit
e0e701058d
@ -395,7 +395,7 @@ object Battle {
|
||||
thisCombatant.unit.promotions.XP += xpGained
|
||||
|
||||
|
||||
if (thisCombatant.getCivInfo().isMajorCiv()) {
|
||||
if (thisCombatant.getCivInfo().isMajorCiv() && !otherCombatant.getCivInfo().isBarbarian()) { // Can't get great generals from Barbarians
|
||||
var greatGeneralPointsModifier = 1f
|
||||
for (unique in thisCombatant.getMatchingUniques("[] is earned []% faster")) {
|
||||
val unitName = unique.params[0]
|
||||
|
@ -6,7 +6,7 @@ import com.unciv.models.stats.Stats
|
||||
|
||||
class GreatPersonManager {
|
||||
var pointsForNextGreatPerson = 100
|
||||
var pointsForNextGreatGeneral = 30
|
||||
var pointsForNextGreatGeneral = 200
|
||||
|
||||
var greatPersonPointsCounter = Counter<String>()
|
||||
var greatGeneralPoints = 0
|
||||
|
Loading…
Reference in New Issue
Block a user