Combat Simulator

Usage

 * 1) Go to the game and press Ctrl+U (⌥ + ⌘ + U on a Mac), which should pop up a text screen of the webpage source with in particular your 'userData'. Chrome on Android: log in first, tap on the pencil to edit the web address and change it into e.g. , which should pop up the webpage source.
 * 2) Select all of it (Ctrl+A), or at least the part that begins with 'var userData', and copy it into the clipboard (Ctrl+C).
 * 3) Select all contents of the first text window and replace it with the data stored in your clipboard (Ctrl+V). The drop down box with the decks should contain your decks now.
 * 4) Select a deck, select a location, and select a mission.
 * 5) Click the Combat button to run the simulation.
 * 6) The results are presented in the Output frame.

Results
The results show:
 * The unsupported effects and artifacts if any, which were used in the fights.
 * Your chance to win.
 * Your chances to win respectively 1, 2, or 3 stars.
 * If relevant, the average damage that you'll do in 1 fight, including its standard deviation. This is in particular for 'boss fights', where our enemy has an unlimited number of cards.
 * The number of fights that were executed to find those chances (count).
 * If it was a 'boss fight', there is a line that shows how many fights we need. For example "P(N=5)=90% P(N=6)=10%" means that we probably need 5 fights, but we should be prepared for 6 fights.
 * If we 'optimized the artifacts' there will be a line that shows the cost to redistribute the artifacts. There will be multiple results that are sorted in increasing redistribution costs.

Smutstone data
URL of Smutstone's game data, which is used directly by the script of the combat simulator:

Discord Channel
#combat-simulator