DiceAST.ValueType Property
From DiceRoller Documentation
Gets what type of value we have (total or successes).
- Namespace: Dice.AST
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public ResultType ValueType { get; protected set; }
Property Value
Type: Dice.ResultType
The type of value we have (total or successes).
Remarks
This is initialized to ResultType.Total by default. A node can override this to ResultType.Success if need be. It is recommended to only set ValueType to ResultType.Success if every rolled die is a success die. In other words, if some dice are reporting totals and others are reporting successes, the ValueType should be left as ResultType.Total.