Skip to content

Tommyhudon/warhammer-battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warhammer-battle

Small project to compare units strength in warhammer AoS

How to use

To run a simulation you need to use the end point POST/battle_report with a body.

body exemple

[
    {
        "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
        }
    }
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages