public PerLevelHitPoints(int amount, ClassType type, FeatureBundle parent = null) : base(parent) { this.classType = type; this.amount = amount; }
public SpellPreparedFeature(SpellPoolElement spellElement, FeatureBundle parent = null) : base() { this.spellElement = spellElement; ups.Add((character) => { spellElement.IsPrepared = true; }); downs.Add((character) => { spellElement.IsPrepared = false; }); }
public SpellSlotFeature(int level, FeatureBundle parent = null) : base() { this.level = level; ups.Add((character) => { SpellLibrary.SpellSlot slot = new SpellLibrary.SpellSlot(); slot.level = level; slot.used = false; character.spellSlots.Add(slot); }); downs.Add((character) => { character.spellSlots.Remove(cached); }); }
public GaugeMod(string gaugeName, int amount, string sourceName, bool consideredBase = false, FeatureBundle parent = null) : base(parent) { this.isBase = consideredBase; this.amount = amount; this.gaugeName = gaugeName; this.sourceName = sourceName; }
public FeaturePointer(string headerText, List <GenericFeature> pool, FeatureBundle parent = null) : base(parent) { this.pool = pool; this.headerText = headerText; filterPool = (Sheet c) => pool; }
public SpellKnownFeature(SpellLibrary.SpellName spellName, ClassType classType, FeatureBundle parent = null) : base() { this.spellName = spellName; this.classType = classType; ups.Add((character) => { SpellPoolElement elem = cached = new SpellPoolElement(); elem.ClassType = classType; elem.SpellName = spellName; elem.IsPrepared = false; character.spellPool.Add(elem); }); downs.Add((character) => { character.spellPool.Remove(cached); }); }
public GenericFeature(FeatureBundle parent = null) { this.parent = parent; }
public StatelessFeature(SpecialFeatureType type, FeatureBundle parent = null) : base(parent) { this.type = type; SetEffectsAndDescription(this); }
public SaveProficiencyFeature(AbilityType abilityType, ProficiencyLevel lvl, FeatureBundle parent = null) : base(parent) { this.abilityType = abilityType; this.lvl = lvl; }
public WeaponProficiencyFeature(EquipmentSubtype weaponType, ProficiencyLevel lvl, FeatureBundle parent = null) : base(parent) { this.weaponType = weaponType; this.lvl = lvl; }
public HitDiceFeature(int sides, FeatureBundle parent = null) : base(parent) { this.sides = sides; }
public ArmourProficiencyFeature(EquipmentType armourType, ProficiencyLevel lvl, FeatureBundle parent = null) : base(parent) { this.armourType = armourType; this.lvl = lvl; }
public SkillProficiencyFeature(SkillType skillType, ProficiencyLevel lvl, FeatureBundle parent = null) : base(parent) { this.skillType = skillType; this.lvl = lvl; }