Cohesion test (from shooting)
Posted: Mon Aug 24, 2020 7:24 pm
Certainly an already asked question. Sorry if so.
Manual says (p. 42) :
- theoretical number of men ?
- actual total number of men of the unit at the start of the game ?
- or current number of men of the unit at a given turn ?
In the case of a P&S unit (500 men) that had 510 men at the start of the game and has already lost 110 men at turn 7, is it :
- 5% of 510 = 26 casualties ?
- 5% of 500 = 25 casualties ?
- 5% of 400 = 20 casualties ?
I looked at the code but did not get it.
Manual says (p. 42) :
Is it 5% (or 8%) of the :Troops take a Cohesion Test if they suffer significant total shooting casualties (> 5%) in a turn
(...)
Unit suffered heavy total shooting casualties this turn (> 8%) : -1 modifier
- theoretical number of men ?
- actual total number of men of the unit at the start of the game ?
- or current number of men of the unit at a given turn ?
In the case of a P&S unit (500 men) that had 510 men at the start of the game and has already lost 110 men at turn 7, is it :
- 5% of 510 = 26 casualties ?
- 5% of 500 = 25 casualties ?
- 5% of 400 = 20 casualties ?
I looked at the code but did not get it.
Code: Select all
if (reason == 0) // Shooting
{
Log("M State, Shooting morale damage this turn", morale_state, GetAttribArray(me, "MoraleDamageFromShooting", GetCurrentSide()));
if (GetAttribArray(me, "MoraleDamageFromShooting", GetCurrentSide()) <= 500)
{
test = 0; // No test
}
}