mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 20:55:44 +00:00
Show hero cap in province commander count (#8758)
* Show hero cap in province commander count * Keep province commander count on one line
This commit is contained in:
+1
-1
@@ -5678,7 +5678,7 @@ MonoBehaviour:
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_TextWrappingMode: 1
|
||||
m_TextWrappingMode: 0
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@ namespace eagle {
|
||||
var lowLoyaltyHeroes = heroes.Where(IsLowLoyalty).ToList();
|
||||
var overHeroCap = fullInfo.HeroCap < heroes.Count;
|
||||
|
||||
var heroCountString = $"{heroes.Count}";
|
||||
var heroCountString = $"{heroes.Count} / {fullInfo.HeroCap}";
|
||||
if (lowLoyaltyHeroes.Any() || overHeroCap) {
|
||||
CommandersField.text = GUIUtils.ColoredString(Color.red, heroCountString);
|
||||
} else if (heroes.Any(IsMediumLoyalty)) {
|
||||
|
||||
Reference in New Issue
Block a user