Skip to content

Commit

Permalink
Add late iron age bonus to VP breakdown
Browse files Browse the repository at this point in the history
Change-Id: Ide951640735d49587e62a79bb24c697744f7fdc7
  • Loading branch information
Walter Kolczynski authored and Walter Kolczynski committed Nov 7, 2019
1 parent eb89cbd commit a812744
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/net/bubbaland/megaciv/game/Civilization.java
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,8 @@ public String getTechBreakdownString() {
s = s + "<table cellpadding='1' cellspacing='1'><tr><td align='right'>1 VP (&lt;100)</td><td>"
+ this.getTechCountByVP(1) + "</td></tr>";
s = s + "<tr><td>3 VP (&gt;100)</td><td align='right'>" + this.getTechCountByVP(3) + "</td></tr>";
s = s + "<tr><td>6 VP (&gt;200)</td><td align='right'>" + this.getTechCountByVP(6)
+ "</td></tr></table></html>";
s = s + "<tr><td>6 VP (&gt;200)</td><td align='right'>" + this.getTechCountByVP(6) + "</td></tr>";
s = s + "</table></html>";
return s;
}

Expand All @@ -942,7 +942,11 @@ public String getVpBreakdownString() {
s = s + "<table cellpadding='1' cellspacing='1'><tr><td>AST</td><td align='right'>"
+ this.astPosition * Game.VP_PER_AST_STEP + "</td></tr>";
s = s + "<tr><td>Tech</td><td align='right'>" + this.getVPfromTech() + "</td></tr>";
s = s + "<tr><td>Cities</td><td align='right'>" + this.getCityCount() + "</td></tr></table></html>";
s = s + "<tr><td>Cities</td><td align='right'>" + this.getCityCount() + "</td></tr>";
if (this.lateIronBonus) {
s = s + "<tr><td>Bonus</td><td align='right'>5</td></tr>";
}
s = s + "</table></html>";
return s;
}

Expand Down

0 comments on commit a812744

Please sign in to comment.