Class ContextDice
Util for creating ContextDiceValue
Inheritance
System.Object
ContextDice
Namespace: BlueprintCore.Utils.Types
Assembly: BlueprintCore.dll
Syntax
public static class ContextDice
Methods
| Improve this Doc View SourceValue(DiceType, ContextValue, ContextValue)
Declaration
public static ContextDiceValue Value(DiceType diceType, ContextValue diceCount = null, ContextValue bonus = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.RuleSystem.DiceType | diceType | |
| Kingmaker.UnitLogic.Mechanics.ContextValue | diceCount | Number of dice to roll. Default 1 |
| Kingmaker.UnitLogic.Mechanics.ContextValue | bonus | Fixed bonus added to result. Default 0 |
Returns
| Type | Description |
|---|---|
| Kingmaker.UnitLogic.Mechanics.ContextDiceValue |