hsr-optimizer
hsr-optimizer copied to clipboard
[Feature] Update warp planner calculations to exact values instead of running a simulation
Motivation
Currently the warp planner simulates 100,000 trials and averages out the results. We precompute the likelihood of a given success landing on each roll attempt in warpRates.ts, but the last step of combining the probabilities between different eidolon/superimposition milestones is still simulated.
Goal
Figure out the math to make these exact instead of using simulated values.
Priority: Low - nice to have but it already works fine
Starting point: https://github.com/fribbels/hsr-optimizer/blob/main/src/lib/tabs/tabWarp/warpRates.ts