Skip to content

Commit

Permalink
reducing repair costs by a factor of maxHealth - back to how it was m…
Browse files Browse the repository at this point in the history
…eant to work
  • Loading branch information
Idrinth committed Jun 6, 2020
1 parent 08247e4 commit 076384f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- Min((1 + $(PathLength) / 5), (1+1.2*(Logn($(PathLength)^2)))) -->
</DepartmentOfCommerce>
<DepartmentOfDefense>
<RepairCostFormula>(0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 100 * Property(Empire, @ClassEmpire, DustInflation) * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage')</RepairCostFormula>
<RepairCostFormula>(0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * (1 + (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) / Property(Ship, @ClassShip, MaximumHealth)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 100 * Property(Empire, @ClassEmpire, DustInflation) * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage')</RepairCostFormula>
<!-- (0.25 + 0.25 * Count(Ship, @'ClassShip,ShipRoleSuperColonizer')) * (Property(Ship, @ClassShip, MaximumHealth) - Property(Ship, @ClassShip, Health)) * Property(Empire, @ClassEmpire, GameSpeedMultiplier) * Property(Empire, @ClassEmpire, DustInflation) + 500 * Property(Empire, @ClassEmpire, DustInflation) * Count(Ship, @'ClassShip,ShipStateLockedInGarrisonFromDamage') -->
</DepartmentOfDefense>
</Agencies>
Expand Down

0 comments on commit 076384f

Please sign in to comment.