I've made a small page that calculates attack probabilities in X-Wing that I've been using for a while and maybe other people might want to use it.
--- Adress is now a web redirect ---
Multi result version with line chart: http://xwingcalculator.ddns.net/diceuilm.html
Full version with pie chart: http://xwingcalculator.ddns.net/diceuip.html
Full version with line chart:
http://xwingcalculator.ddns.net/diceuil.html
Basic HTML version:
http://xwingcalculator.ddns.net/diceui.html
Alternate mobile layout: http:// xwingcalculator.ddns.net /diceuilmmob.html
Line chart will be integrated in the regular full version in the future.
It should look like this:
Features
- No casino style pre-computations
- Hit probability distribution
- Expected damage
- Critical hit probability
- Probability of keeping tokens after the attack
- Several stackable dice modifier abilities
- (Somewhat) Intelligent use of abilities/tokens, optimized for single attack, attacker/defender will try to maximize hits/evades
- Virtually no dice limit (UI capped at 15)
- Allows multiple tokens
- Pluggable architecture allows new abilities to quickly be added
- Shiny pie chart!
Known Issues
- TLT token spending for both attacker and defender is not optimal (both try to maximize both attacks even when it brings no benefit)
- Some reroll mechanics may not be aware of all other abilities.
- Attacks with a lot of dice and rerolling can take some time and may cause the browser to pop up a warning. Press continue and it will eventually finish.
Potential Roadmap (if I need it and/or if people want it)
- Integrate line chart in main UI
- Multiple attack simulation (system already allows this)?
- More abilities?
- Result drill-down/exploration (there is a lot more information available than what is shown)?
How to use
-
Select the abilities you want to trigger.
If an ability requires a token and you don't have it, the ability won't trigger.
Missile/Torpedo abilities WILL trigger even if you do know assign TL/focus (this page simulates combat resolution only). - Select the number of dice to roll and the number of tokens.
- Hit "Calculate"
- The Hit distribution table will appear at the bottom. The pie chart will appear along side it if your browser supports canvas.
- If you assigned tokens the token retention table will appear below. This shows the probability of having at least 1 token of each type at the end of combat.
FAQ
- Do I need target lock to fire missile/torpedos?
No.
- Do I need target lock to use Advanced Targetting Computer?
Yes.
- How do I simulate Homing Missiles?
Set Attack Dice to 4. Add a Target Lock. Do not assign Evade Tokens to the defender.
Bugs, feature request, comments or request for redistribution can be sent to [email protected] in addition to this thread.
I've made as accurate as possible but it is bound to have bugs. Enjoy and Happy Hunting.