DieResult.Success Method ()

From DiceRoller Documentation

Return a new DieResult based on the current one flagged as a success.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public DieResult Success()

Return Value

Type: Dice.DieResult

A copy of the current DieResult with the Success flag.

Remarks

When marking a die as a success via this method, the Failure flag is stripped. As such, it is preferred that you use this method to mark dice as successes instead of manually adding the flag yourself, so that this extra effect happens consistently.