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

Miscalculated dice for Infantry in Hill to Hill combat into Fieldworks side #314

Closed riverwanderer closed 2 weeks ago

riverwanderer commented 2 weeks ago

Module V5.1.0a847 Vassal V3.7.14 Scenario 208 Heilsberg (Opening Phase) - 10 June 1807

Miscalculated dice for Infantry in Hill to Hill combat into Fieldworks side. hillHillFW Inf error.zip

Flag bolster is granted by the Fieldworks side. Cavalry dice calculate correctly. Ranged dice is not an issue (-1 regardless of Fieldworks).

However, cavalry given a bolster option for Ranged or Melee across a Fieldworks side. Sidebar FW icon is sometimes showing in Melee (even though the manual FW command, as expected, does not show):

image
riverwanderer commented 2 weeks ago

A fieldworks check was needed in gDice hill-to-hill calculation for calcINFcc in Combat Assist-Dice Calculation. A melee check (gIsMelee) prevents spurious display of the Fieldworks option (though that is masking that gFWstate is not always zero when it should be). Also, now initialised in Retreat piece. Cavalry bolster issue: An Inf/Art check had to be restored to configure IgnoreFLG correctly; set in CA Assess Fieldworks prototype (GKCs to terrain). Fixes & workaround added in a847.