toadchild / 40kdice

Statistical analysis tool for Warhammer 40,000 and Age of Sigmar
http://40k.ghostlords.com/dice/
MIT License
13 stars 7 forks source link

Sustained + Lethal hits broken #12

Open toadchild opened 1 year ago

toadchild commented 1 year ago

The tool will apply the lethal (autowound) effect to the extra hits generated by sustained hits. This is incorrect. The lethal effect should apply to the original roll.

toadchild commented 1 year ago

The sustained hits part is probably fine, but I need to re-visit how lethal hits (automatic wounds) are handled. Currently it's based on back-calculating the probability of rolling a critical, but the sustained hits have a 0% crit chance which messes up that math.

I need to make similar changes for the new devastating wounds anyway (auto-fail saving throw); I think in both cases what I need to have better tracking for crits in the probability tables. Currently we track normal dice and mortals; an additional dimension needs to be added for crits / autos.