public RollResult ComputeTurnResult() { RollResult rollResult = RollResult.Lose; if (Dices.All(dice => dice.Face == Dices[0].Face)) { rollResult = Dices[0].Face == Dices[0].Max ? RollResult.Jackpot : RollResult.Win; } return(rollResult); }
/// <summary> ファンブルかどうか </summary> public bool IsFumble(Unit unit) => unit.IsExistStatus(Status.Prosperity) ? Dices.Any(i => i <= 1) : Dices.All(i => i <= 1);