mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-25 23:29:47 +07:00
Implemented Alexander's unique - #563
This commit is contained in:
@ -66,10 +66,8 @@
|
||||
|
||||
outerColor:[181, 232, 232],
|
||||
innerColor:[68,142,249],
|
||||
/*
|
||||
uniqueName:"Hellenic League",
|
||||
unique:"City-State Influence degrades at half and recovers at twice the normal rate",
|
||||
*/
|
||||
cities:["Athens","Sparta","Corinth","Argos","Knossos","Mycenae","Pharsalos","Ephesus","Halicarnassus","Rhodes",
|
||||
"Eretria","Pergamon","Miletos","Megara","Phocaea","Sicyon","Tiryns","Samos","Mytilene","Chios",
|
||||
"Paros","Ellis","Syracuse","Herakleia","Gortyn","Chalkis","Pylos","Pella","Naxos"]
|
||||
|
@ -361,7 +361,7 @@
|
||||
|
||||
|
||||
"Your so-called 'friendship' is worth nothing.":{ // When we have a decleration of friendship to someone and we declare war on them
|
||||
Italian:"La tua cosiddetta 'amicizia' non vale nulla!"
|
||||
Italian:"La tua cosiddetta 'amicizia' non vale nulla!"
|
||||
Portuguese:"Sua chamada 'amizade' não vale nada."
|
||||
French:"Votre soi-disant 'amitié' ne vaut rien."
|
||||
}
|
||||
@ -748,7 +748,10 @@
|
||||
"Alexander":{
|
||||
Italian:"Alessandro"
|
||||
French:"Alexandre le Grand"
|
||||
}
|
||||
},
|
||||
|
||||
"City-State Influence degrades at half and recovers at twice the normal rate": {
|
||||
},
|
||||
|
||||
"China":{
|
||||
Italian:"Cina"
|
||||
|
@ -279,10 +279,15 @@ class DiplomacyManager() {
|
||||
}
|
||||
}
|
||||
|
||||
// City-state influence
|
||||
val hasCityStateInfluenceBonus =
|
||||
civInfo.nation.unique=="City-State Influence degrades at half and recovers at twice the normal rate"
|
||||
if (influence > 1) {
|
||||
influence -= 1
|
||||
if(hasCityStateInfluenceBonus) influence -= 0.5f
|
||||
else influence -= 1
|
||||
} else if (influence < 1) {
|
||||
influence += 1
|
||||
if(hasCityStateInfluenceBonus) influence += 2
|
||||
else influence += 1
|
||||
} else influence = 0f
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user