Updated yet again!
Thanks to everyone who's given me feedback on my gym simulator! I've incorporated the suggestions that some had as well as added more dodging options.
https://docs.google.com/spreadsheets/d/1TGMj8MK90hMYmvehzCLyEu4roXswLJlIC4h7-pmyj5I/edit?usp=sharing
Specifically, I've added the following requested features:
Provide CP calculations for the attacker and defender Display ending HP of the winning pokemon Provide prestige calculation (assuming the attacker wins)Thanks to toytracker for the suggestions!
I've also added another dodging option. Previously, there were two: "Average" and "Realistic".
Average was intended to provide consistent results, regardless of the likelihood of a dodge occurring. It did this by averaging the damage on a per-attack basis. This isn't entirely accurate, but it gives a good idea of how the battle will go.
Realistic actually checked to see if a dodge was successful each time it was attempted. This made results more accurate, but less predictable (since sometimes the dodges would happen and sometimes not--RNG).
I've now renamed Realistic as "Max Attack". There hasn't been any change to its logic, however so the results you'll see with "Max Attack" should be exactly the same as what you saw with "Realistic". I renamed it because it better reflects the setting. Essentially, with "Max Attack", the attacker will always attack as soon as possible, and, if there is time, dodge the defender's attack. Sometimes, however, there isn't time, so the dodge doesn't occur (imaging a attacker using Hyper Beam right before the defender uses a Body Slam).
"Max Dodge" is the new option. This mostly uses the same logic as "Max Attack". However, when the attacker has an opportunity to attack, it first checks to see if the defender has enough energy to use a charge move. If so, and if the attacker's charge move would cause it to miss its dodge, then it will wait instead of attacking.
That guarantees that the attacker will always have time to dodge all of the defender's charge moves, and definitely reflects how some people play. At present, however, there is a weakness in the logic as the attacker doesn't try to use it's quick move once it realizes the defender is readying a charge move. Thus, the attacker may wait longer than is necessary to guarantee the dodge. I'll try to address this in a subsequent update.
Meanwhile I hope folks enjoy the tool and find it useful.
Answers
Sure, I should be able to do that. What sort of details are you thinking of over and above what's pulled up to the top now?
Thanks again for the feedback!
[EDIT]
I just re-read your post and realized that you may be saying that you'd like a log of simulations over time to compare to each other? In that case, you'd likely want all of the input as well as the results on each line, yes?
I'll have to think about this a little bit, if so. Since this is formula-based, there's no concept of an execution (that is, it updates everything any time you change anything), so when does it take the snapshot and preserve it to another tab? Perhaps I can add a button of some sort that will essentially mean "I'm done with this simulation. Please save the results".
I'm not sure how to do that yet, but I'll think about it and see what I can do. :)