Small project to compare units strength in warhammer AoS
To run a simulation you need to use the end point POST/battle_report with a body.
[
{
"name": "Liberators",
"number": 10,
"save": 4,
"wound": 2,
"totalWounds": 20,
"weapon" : {
"attacks": 2,
"toHit": 4,
"toWound": 3,
"rend": 0,
"damage": 1
},
"reRoll" : {
"reRollAllFailHits": false,
"reRollAllFailWounds": false,
"reRollAllFailSaves": false,
"reRollSavesOn": 1
}
},
{
"name": "Plague Monks",
"number": 20,
"save": 6,
"wound": 1,
"totalWounds": 20,
"weapon" : {
"attacks": 2,
"toHit": 4,
"toWound": 4,
"rend": 0,
"damage": 1
},
"reRoll" : {
"reRollAllFailHits": false,
"reRollAllFailWounds": false,
"reRollAllFailSaves": false
}
}
]