SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
244 stars 49 forks source link

When a stacked unit attacks and loses combat, the entire stack is destroyed #340

Closed AlexFolland closed 7 years ago

AlexFolland commented 7 years ago

In Civilization, the entire stack is destroyed only when losing a defending combat. When losing an attack, only the attacking unit is destroyed.

This happened with a stack of Battleships spawned with the debug menu. It's possible that it is related to the invisible ship issue and the Battleships there are simply invisible. I will test more.

AlexFolland commented 7 years ago

More testing reveals that yes, the entire stack is destroyed. I spawned a Militia unit in a stack of Mechanized Infantry units, and many enemy Battleship units in the enemy city. When I attacked with the Militia unit, the entire stack of Mechanized Infantry units was destroyed.