Township: Difference between revisions

m
no edit summary
(Updated Repair Cost formula for v1.2)
mNo edit summary
Line 32: Line 32:
See: Township.getSingleResourceRepairCostForBuilding,  
See: Township.getSingleResourceRepairCostForBuilding,  
-->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any increased or decreased repair cost bonuses, where each {{TownshipIcon|Market}} built decreases the repair cost by 0.25%. The minimum repair cost is 1 resource. The repair cost of a building can be calculated as follows:
-->The repair cost of a building depends on the cost of constructing the building (after any building cost reducing bonuses), the building's efficiency, and any increased or decreased repair cost bonuses, where each {{TownshipIcon|Market}} built decreases the repair cost by 0.25%. The minimum repair cost is 1 resource. The repair cost of a building can be calculated as follows:
<math>\text{Repair Cost} = \frac{\text{Base Building Cost}}{3} \times \text{Buildings Built} \times \left ( 1 + \frac{\text{Building Cost %}}{100} \right ) \times \left ( 1 + \frac{\text{Repair Cost %}}{100} \right ) \times \left ( 1 - \frac{\text{Building Efficiency %}}{100} \right )</math>
<math>\text{Repair Cost} = \frac{\text{Base Building Cost}}{3} \times \text{Buildings Built} \times \left ( 1 + \frac{\text{Building Cost %}}{100} \right ) \times \left ( 1 + \frac{\text{Repair Cost %}}{100} \right ) \times \left ( 1 - \frac{\text{Building Efficiency %}}{100} \right )</math>


463

edits