Example #1
0
 void IncreaseResearchCost(Miner miner)
 {
     miner.ResearchCost += GlobalItems.CalculateNewPrice(miner.ResearchStartCost, 1.15f, miner.ResearchLevel);
 }
Example #2
0
 void IncreasePassiveBonus(Miner miner)
 {
     miner.PassiveBonus += (GlobalItems.CalculateNewPrice(miner.PassiveStartBonus, 1.15f, miner.ResearchLevel));
 }
Example #3
0
    private void UpgradeCostIncrease()
    {
        float temp = RoundUp(GlobalItems.CalculateNewPrice(baseCost, upgradeMultiplier, pickaxeLevel), 10);

        upgradeCost += temp;
    }