indexOfNaturalMax property

int indexOfNaturalMax

If the dice roll was a critical hit, this returns the index of the dice that was the critical hit.

Implementation

int get indexOfNaturalMax => results.indexOf(dice.sides);