ContextRankConfig createClassScalingConfig( ContextRankProgression progression = ContextRankProgression.AsIs, AbilityRankType type = AbilityRankType.Default, int?min = null, int?max = null, int startLevel = 0, int stepLevel = 0, (int, int)[] customProgression = null)
/// <summary>AbilityRankType is only relevant for ContextValueType.Rank</summary> public static ContextDiceValue CreateContextDiceValue(DiceType Dx, ContextValueType diceType = ContextValueType.Simple, AbilityRankType diceRank = AbilityRankType.Default, int diceValue = 0, ContextValueType bonusType = ContextValueType.Simple, AbilityRankType bonusRank = AbilityRankType.Default, int bonusValue = 0) { var result = new ContextDiceValue(); result.DiceType = Dx; result.DiceCountValue = new ContextValue(); result.DiceCountValue.ValueType = diceType; result.DiceCountValue.ValueRank = diceRank; result.DiceCountValue.Value = diceValue; result.BonusValue = new ContextValue(); result.BonusValue.ValueType = bonusType; result.BonusValue.ValueRank = bonusRank; result.BonusValue.Value = bonusValue; return(result); }