Link: https://aturfah.github.io/eo-chaser-calc
For Etrian Odyssey games, calculate the expected number of follow-up attacks for chaser-type skills.
Below I will provide an brief explanation of the arguments the page accepts.
- Maximum Follow-Ups: The upper limit of the number of follow-up attacks that can occur.
- Chance Reduction: The follow-up chance reduction after each successful chase.
- Number of Attacks (Probability): The probability of each number of attacks that can proc a follow-up occurring, entered as a decimal (ex; 0.5)
- Note: The variable number of attacks is to allow skills like Swashbuckling which may activate any number of times. If you have a fixed number of attacks then type that number with probability 1.
- Number of Simulations: Number of samples to draw to get results. Larger numbers result in more stable estimates, at the cost of time.
- Buccaneer with Lv8 Chase Flame (14% Chance Reduction, Max 8 Follow-Ups)
- Ally Zodiac will proc 1 chase
- Ally Shogun/Buccaneer will proc variable number of chases via imbued Lv8 Swashbuckling
- 2 Hits: 49.00%
- 3 Hits: 29.40%
- 4 Hits: 13.23%
- 5 Hits: 5.29%
- 6 Hits: 1.98%
- 7 Hits: 1.10%
- Inputs look like this
The procedure for generating the the number of follow-ups for a single step is described below. This processs is repeated Number of Simulations
times.
- Draw the number of attacks that cac proc a follow-up according to the specified distribution (
Number of Attacks (Probability)
) - Initialize follow-up probability (FP) to 100% and the follow-up counter to 0
- For each attack that can potentially proc a follow-up
- This attack results in a follow-up with probability FP
- If a follow-up occurs, increment the follow-up counter and decrease the FP by
Chance Reduction
- If FP < 0 or we have reached
Maximum Follow-Ups
follow-up attacks, stop
- Return the value of the follow-up counter
The exact implementation details can be found in the runSimulation
function from /src/App.js