Skip to content

About

A tool for calculating and comparing damage outputs for Warhammer Age of Sigmar units.

Resources

Stars

5 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Age of Sigmar Statshammer

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.

Features

  • 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 x Mortal Wounds on a roll of y'
      • 'Rerolls'
      • 'Leader Bonuses'
  • 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 x simulations 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.
  • 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

Roadmap Features

  • 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

Installation

Ensure that you have node and pnpm installed.

Install the packages:

pnpm install

Usage

pnpm start

Runs the app in development mode.

Open http://localhost:3000 to view it in the browser

pnpm test

Runs the tests.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A tool for calculating and comparing damage outputs for Warhammer Age of Sigmar units.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages