riverwanderer / ccnapoleonics

Commands & Colors: Napoleonics on vassalengine.org
https://boardgamegeek.com/boardgame/62222/commands-and-colors-napoleonics
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Combat dice not calculated #230

Closed riverwanderer closed 3 months ago

riverwanderer commented 3 months ago

Module V5.1.0a303 Vassal V3.7.14 Scenario 210 Borodino - 5 September 1812 (Shevardino Redoubt)

After an ranged combat vs square, next combat adjacent to same square, but moving to another with Square option, failed to set up correctly, when the new target was clicked on:

image image image

Workaround was to drag the Attacker marker and re-apply it.

a302-combat setup error.zip

riverwanderer commented 3 months ago

Issue relates to the presumption of a battle vs the existing adjacent square, which automatically starts the combat phase by skipping (0d) to the attackers dice roll (1). Thus the workaround effectively ends that combat after the retargeting, allowing a valid combat to be setup.

Test game setup: a302-combat setup test.zip

Solution attempted is to modify the gCombatPhase SGP trait in Combat Assist-No Dice Roll prototype as shown:

Pasted Graphic 4