feat(BuildCalc) Adding Pyre to Bank
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user