Soren_Johnson

Soren_Johnson

Joined Member # 3159370
36 Posts 366 Replies 3,458 Reputation

Thanks for the feedback - would love to hear suggests about your first point as I am also concerned that Steel, Steel, Aluminium is becoming such a standard strategy. (That is not so bad for new players, but there should be some alternatives, at least.)

6 Replies 37,587 Views

and... public int calculateTotalStockValue(bool bIncludeDebt) { int iValue = calculateBaseStockValue(); iValue += getMoney(); if (bIncludeDebt) { iValue += (getDebt() * infos().handicap(getHandicap()).miDebtMultiplier); } iValue += calculateResourceStockValue(); iValue += calculateHQStockValue(); iValue += calculateBuildingStockValue(); iValue += calculateConstructionStockValue(); iValue += calculatePate

14 Replies 34,733 Views

Here's the code. Let me know if this helps answer the question. public void updateBaseSharePrice(bool bForce) { if (!isAlive()) { return; } int iTotalValue = calculateTotalStockValue(true); const int STOCK_STEPS = (1000 * Constants.STOCK_MULTIPLIER); int iNewValue = 0; if (iTotalValue > 0) { // XXX test this... while (iTotalValue > 0) { int iChange = Math.Min(STOCK_STEPS, iTotalValu

14 Replies 34,733 Views