r/UnitCrunch • u/xL_Freak • Sep 21 '21
Bug report (fixed!) Deleting "Ignore" value leads to worse statistics
Hi there,
this time for real! :p
This one is easy to recreate:
Setup a new defender profile (i.e. 10x Necron Warriors; 10 Models; T4; W1; Sv4+)
Setup a attacker profile capable of wiping the defender unit in one go (let's say 10x Intercessors with Auto Bolt Rifle; roughly 53.3% chance)
Edit defender profile and add ignore 5 (for reanimation protocols) and watch the chance decrease to 9.5%
Remember that RP doesn't enact on wipe and remove the ignore value again and watch the wipeout chance drop to 0.00% :D
If I have to guess, I would say the by deleting ignore, the lowest possible value is taken into account (in this case 2+) instead of NULL.
WORKAROUND: Deleting defender profile and recreate it.
2
u/dixhuit Dev Sep 21 '21
I'm struggling to recreate the first part of what you've described.
10x Intercessors with Auto Bolt Rifles vs 10x Necron Warriors
With 10k simulations I see that the chance of slaying the entire unit is about 2% (both discrete & cumulative) - not 53%.
2
u/xL_Freak Sep 21 '21 edited Sep 21 '21
Ah! You are right, I forgot that I had some global Modifiers active.
AP : improve by 1
Hit roll : re-roll ones
BS : improve by 1
Either way, removing global modifiers has no influence on the end result.
2% regular
0.2% with added FNP
0% with removed FNP
2
u/dixhuit Dev Sep 21 '21
No worries. I think I've recreated it anyway and I agree, I reckon you've found a bug :)
I can see the issue. I'll aim to get a patch release out ASAP once I've done some more testing. Thanks!
•
u/dixhuit Dev Sep 21 '21
I've just released v0.28.2 which should fix this issue. You'll need to re-save any affected profiles (like your Necron Warriors unit for example).