Skip to content

2024-July-04 - 2.6.14772

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Jul 17:20
9b1585d
Fix logic for damage units selection for 3hp units. (#12685)

* Fix logic for damage units selection for 3hp units.

Previously logic was not working correctly and was overriding the user's selection in terms of how many units should take 2hp of damage vs. 1hp.

Adds a test. Also improves/adds some comments on the existing logic.
Fixes: https://github.com/triplea-game/triplea/issues/12672

* Improve comments.