public BonusBuilder(TKind collection, string name, CharacterVariable newValue) { _collection = collection; _workingVariable = newValue; _name = name; }
public BonusBuilder(TKind collection, string name) { _collection = collection; _workingVariable = collection.GetVariable(name); _name = name; }
public CharacterData(Fungus.Character v) { characterVal = v; characterRef = null; }
public ComputedValue(string type, CharacterVariable source) : this(type, source, null) { }
public ComputedValue(string type, CharacterVariable source, ComputeValue?computation) { Type = type; Source = source; Computation = computation; }
public static int AbilityScoreModifier(CharacterVariable abilityScore) => abilityScore.Value / 2 - 5;