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'. On nutaku.net server: right click on the game, select This Frame, and then select View Frame Source, which will pop up the webpage source.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 (n).
 * The "farm" result if applicable. That is the amount of gold per unit of energy.
 * 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.

Credits
Combat simulator updated to V3.06:

- (V3.06) added ability to see your guild ward troops.

- In (V2.6) - Massive improvement compared to v2.0. In this version you can simulate your preferred card deck/set, add whatever artifact you want to your cards, change parameter of each card - level, star value,added stones, soulbind, artifact level..

Simulate a fight with any enemy from campaign mode, journey mode, event chapters, superboss levels that gives artifacts..etc. You can also see a list with all your artifacts and the cards that have those artifacts. Select your desired card picture style form round/icon to star 1 or star 2 pictures. You can also activate all girls and artifacts and experiment with that. Many other advanced options.

- In (V2.2) you can increase parameters of the cards to simulate a card upgrade before you actually do it on the game.

- (V2.0) improved with better accuracy when simulating battles with enemies that have a deck of 7 cards, in castle map and event fights.

Thanks to: Original Programmer: @I like Serena. User @Tumyp from discord for programming to improve the simulator to V2.0. Updated to V2.6, programming by @I like Serena CSS code by Light-777Angel and @I like Serena.

Discord Channel
#combat-simulator