Wrong tower repairing cost when high resources

:arrow_forward: GAME INFORMATION

  • GAME BUILD #: 101.102.46236.0 (#111772) 14119902
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 11

:arrow_forward: ISSUE EXPERIENCED

Wrong cost for repairing towers if you have high resources.

:arrow_forward: FREQUENCY OF ISSUE

  • 100% of the time

:arrow_forward: REPRODUCTION STEPS

Here’s the steps to reproduce the issue:

  1. Start a skirmish game or scenario editor.
  2. Get like 50k amount of wood and stone. You could also start a game with high resources settings.
  3. Build a tower and damage it to almost destroying it. (better if 1hp left)
  4. Take note of your wood and stone stockpile amount.
  5. Take 1 or more villagers and start repairing it until is fully restored.
  6. Repeat 4 and compare the results.

:arrow_forward: EXPECTED RESULT

Tower repair cost should be 17.5 wood 62.5 stone.

:arrow_forward: ACTUAL RESULT

Tower repair cost is 0 wood (or near 0) and like 50 stone.

:arrow_forward: MAIN SUSPECT

Floating point accuracy error. Mainly because the resources are high and the discount is pretty low. The tower is a “cheap” building with a high max HP,

:arrow_forward: IMAGE


2 Likes

Hi NelsonSKA,

Thanks a lot for this report! We are tracking this issue now.

1 Like