A tool for calculating and comparing damage outputs for Warhammer Age of Sigmar units (also referred to as Mathhammer).
The production deploy of the tool is located at: https://aos-statshammer.netlify.app/
The tool works by adding a number of weapon profiles to various units, which can contain a number of modifiers (abilities)
No battletomes or named unit profiles are included by default. Create your own units, export an army as a battletome, and import it in Import/Export to use it for list analysis and rankings. Your previously saved battletomes remain available.
- Average Damage Stats
- Gather the average damage that each unit is expected to do against each possible save.
- This average is a calculated value (not simulated)
- The average damage is presented the following forms:
- Table
- Bar Graph
- Line Graph
- Radar Graph
- Profile Modifiers
- Add various modifiers, or abilities, to your weapon profiles in order to replicate the vast array of unit rules/abilities.
- Some examples are:
- 'Deal
xMortal Wounds on a roll ofy' - 'Rerolls'
- 'Leader Bonuses'
- 'Deal
- Target Modifiers
- Add various modifiers, or abilities, to the target to which stats are generated against (the opponents unit).
- Some examples are:
- 'Ethereal'
- 'Rerolls'
- 'Negate wounds and mortal wounds on a roll of
y'
- Simulations
- Generating
xsimulations to gather the following:- Discrete Probabilities
- Cumulative Probabilities
- Various Sample Metrics (mean, max, variance, etc.).
- The number of simulations is customizable from the simulations screen.
- Generating
- Import/Export JSON
- Save your crafted units so that you can re-import them later
- In Import/Export, export all customized battletomes as a backup and restore them on another device. Restoring replaces matching factions after confirmation and leaves other factions unchanged. The existing single-battletome import remains available.
- Export PDF
- Export the full stats, as well as, simulations to PDF form
- Dark Theme
- Persisitent data between refreshes
- And more
- Keep an eye on the Github Releases
- Ability to add modifiers to the unit as a whole, and not just to each profile
- Ability to provide points costs to provide stats for average damage / 100 points
Ensure that you have node and pnpm installed.
Install the packages:
pnpm installRuns the app in development mode.
Open http://localhost:3000 to view it in the browser
Runs the tests.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.