Recent content by danielmchugh

  1. D

    MHB Online game programming issues.

    Sorry I ment to say: Cost of building = BaseCost * 1.07 ^ Number already owned. So if the base cost was 200 and i already owned 50 buildings. Cost of one more building: $$$200 * 1.07 ^50 = $5891.4$$ So rather then running this multiple times over to find out how much it would cost to buy...
  2. D

    MHB Online game programming issues.

    Thank you so much this is exactly what i needed! :)
  3. D

    MHB Online game programming issues.

    Okay so i am building an incremental game and have a formula to work out how much it will cost to buy a set amount of buildings. This is required as each time you buy a building the price for that building goes up.This formula is as follows: ((BaseCost * (1.07^b - 1.07^a)) / 0.07)BaseCost =...
Back
Top