< Dice‎ | AST

Difference between revisions of "Dice/AST/ExplodeType"

From DiceRoller Documentation
(Created page with "{{APIdoc|ExplodeType Enumeration}} Represents the type of exploding dice in an ExplodeNode. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public enum Ex...")
 
(No difference)

Latest revision as of 22:32, 15 September 2017

Represents the type of exploding dice in an ExplodeNode.

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

Syntax

public enum ExplodeType

Members

Member name Description
Explode A new die is rolled each time the maximum is rolled (or the comparison succeeds).
Penetrate A new die is rolled each time the maximum is rolled (or the comparison succeeds), and 1 is subtracted from each subsequent die roll. As a special case, d100p penetrates to d20p, and d20p penetrates to d6p.

Remarks

Note that compounding dice results is handled separately; each ExplodeType can be configured to compound or not compound. Additionally, the special behavior described above for ExplodeType.Penetrate only happens if there is no explicit comparison defined.