feat(BuildCalc) Adding Pyre to Bank

This commit is contained in:
2022-04-18 19:24:20 -04:00
parent 1a5b68fc19
commit fd160d1ba3
5 changed files with 7 additions and 6 deletions
+1 -2
View File
@@ -80,8 +80,7 @@ public class BuildOrderService : IBuildOrderService
if (!supply.Grants.Equals(0))
buildOrder.SupplyCountTimes.Add(buildOrder.SupplyCountTimes.Last().Key + supply.Grants, completedTime);
}
if (atInterval > lastInterval) lastInterval = atInterval;
NotifyDataChanged();
+4 -2
View File
@@ -77,8 +77,10 @@ public class EconomyService : IEconomyService
select harvester).ToList();
// Add funds
economyAtSecond.Pyre += 1;
if (interval % 3 == 0)
{
economyAtSecond.Pyre += 1;
}
// Add funds
foreach (var entity in economyAtSecond.Harvesters)
{