Exemplo n.º 1
0
        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);
     });
 }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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);
     });
 }
Exemplo n.º 7
0
 public GenericFeature(FeatureBundle parent = null)
 {
     this.parent = parent;
 }
Exemplo n.º 8
0
 public StatelessFeature(SpecialFeatureType type, FeatureBundle parent = null) : base(parent)
 {
     this.type = type;
     SetEffectsAndDescription(this);
 }
Exemplo n.º 9
0
 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;
 }
Exemplo n.º 11
0
 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;
 }