01-23-2015, 06:19 PM
Since I'm not using the official combat algorithms yet, I can post the battle stats. Listed below are some of the primary factors in battles but not all so the numbers may not add up correctly.
Here's the rundown of the 1EL vs 1WE battle:
Initial morale factors (morale, magic, relations, kingdom traits like dragon intimidation, ...etc.):
1EL: +10 (5% declared WE enemy, 5% using 1st group)
1WE: +10 (5% declared EL enemy, 5% using 1st group)
Total group factors (total leaders, terrain-troop composition, terrain-kingdom bonuses, ...etc.):
1EL: 186.42857 (2 warlords, cap II, 131% morale, 8% attrition, -4% terrain, ...)
1WE: 149.18182 (gen II, 2 gen, 120% morale, 16% attrition, 3% terrain, ...)
Total group protections (shield spell, pwr-3 presence, kingdom defensive traits, ...etc.):
1EL: 25.0% damage reduction
1WE: 32.5% damage reduction
This protection value reduces how much damage a group receives during each combat phase below (including withdraw phase damage).
Total retreat value (TAC selection, kingdom retreat traits, ...etc.):
1EL: 35.0
1WE: 40.0
Total group combat value (all modifiers combined - not damage reduction though):
1EL: 64877
1WE: 49506
Combat commenced in stages (each group is reduced in size/value after each combat phase):
Custom kingdom phase (kingdom specific abilities, like DW setting traps and inflicting damage before combat begins):
1EL: 0 damage taken
1WE: 0 damage taken
Archer phase:
1EL: 3570.144 damage taken
1WE: 8234.447 damage taken
Magic phase:
1EL: 937.5 damage taken
1WE: 675.0 damage taken
Artifact weapon phase:
1EL: 0 damage taken
1WE: 0 damage taken
Cavalry phase:
1EL: 4120.376 damage taken
1WE: 4461.6035 damage taken
Infantry phase:
1EL: 27230.816 damage taken
1WE: 31569.764 damage taken
Retreat is checked for both groups after each phase. After the Infantry damage, both groups received enough of damage based upon their retreat factor that they both withdrew.
Total damage received:
1EL: 35858.836
1WE: 44940.812
1EL won battle since it took less damage in the battle percentage-wise.
Withdraw phase (TAC selection, kingdom withdraw trait, ...etc., since both groups retreated, they both receive damage in this phase):
1EL: 3765.1777 damage taken
1WE: 606.701 damage taken
Percent in total losses (including withdrawal damage and some random factors not displayed above):
1EL: 61.0756%
1WE: 92.004025%
Then the brigade loss is calculated based upon the total amount of damage that each group received. The problem of the 1WE group being destroyed is somewhere in the routine that calculates the brigade/attrition damage since his group shouldn't have been completely destroyed from the above info.
Here's the rundown of the 1EL vs 1WE battle:
Initial morale factors (morale, magic, relations, kingdom traits like dragon intimidation, ...etc.):
1EL: +10 (5% declared WE enemy, 5% using 1st group)
1WE: +10 (5% declared EL enemy, 5% using 1st group)
Total group factors (total leaders, terrain-troop composition, terrain-kingdom bonuses, ...etc.):
1EL: 186.42857 (2 warlords, cap II, 131% morale, 8% attrition, -4% terrain, ...)
1WE: 149.18182 (gen II, 2 gen, 120% morale, 16% attrition, 3% terrain, ...)
Total group protections (shield spell, pwr-3 presence, kingdom defensive traits, ...etc.):
1EL: 25.0% damage reduction
1WE: 32.5% damage reduction
This protection value reduces how much damage a group receives during each combat phase below (including withdraw phase damage).
Total retreat value (TAC selection, kingdom retreat traits, ...etc.):
1EL: 35.0
1WE: 40.0
Total group combat value (all modifiers combined - not damage reduction though):
1EL: 64877
1WE: 49506
Combat commenced in stages (each group is reduced in size/value after each combat phase):
Custom kingdom phase (kingdom specific abilities, like DW setting traps and inflicting damage before combat begins):
1EL: 0 damage taken
1WE: 0 damage taken
Archer phase:
1EL: 3570.144 damage taken
1WE: 8234.447 damage taken
Magic phase:
1EL: 937.5 damage taken
1WE: 675.0 damage taken
Artifact weapon phase:
1EL: 0 damage taken
1WE: 0 damage taken
Cavalry phase:
1EL: 4120.376 damage taken
1WE: 4461.6035 damage taken
Infantry phase:
1EL: 27230.816 damage taken
1WE: 31569.764 damage taken
Retreat is checked for both groups after each phase. After the Infantry damage, both groups received enough of damage based upon their retreat factor that they both withdrew.
Total damage received:
1EL: 35858.836
1WE: 44940.812
1EL won battle since it took less damage in the battle percentage-wise.
Withdraw phase (TAC selection, kingdom withdraw trait, ...etc., since both groups retreated, they both receive damage in this phase):
1EL: 3765.1777 damage taken
1WE: 606.701 damage taken
Percent in total losses (including withdrawal damage and some random factors not displayed above):
1EL: 61.0756%
1WE: 92.004025%
Then the brigade loss is calculated based upon the total amount of damage that each group received. The problem of the 1WE group being destroyed is somewhere in the routine that calculates the brigade/attrition damage since his group shouldn't have been completely destroyed from the above info.