Combat Simulator

Usage

 * 1) Go to the game and press Ctrl+U, which should pop up a text screen with in particular your 'userData'.
 * 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 by pasting (Ctrl+P). You should see 'Deck #2' of your game show up in the output text window.
 * 4) Select a location and select a mission, which triggers the simulation to run.
 * 5) The result is shown in the output text window.

The result shows:
 * Your chance to win.
 * Your chances to win respectively 0, 1, 2, or 3 stars.
 * The average damage that you'll do in 1 fight, including its standard deviation. This is in particular relevant for 'boss fights', where our enemy has an unlimited number of cards.
 * The number of fights that were executed to find those chances.
 * The unsupported effects and artifacts if any, which were used in the fights.
 * The last line shows how many fights you need for 'boss fights'. For example "P(N=5)=0.90 P(N=6)=0.10" means that you probably need 5 fights, but you should be prepared for 6 fights.