public HitpointsFeatureEditModel(HitPointsFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { if (f.HitPointsPerLevel > 0) { f.HitPoints = (f.HitPoints == null || f.HitPoints.Trim() == "0" || f.HitPoints.Trim() == "" ? "" : f.HitPoints + " + ") + "PlayerLevel " + (f.HitPointsPerLevel > 1 ? " * " + f.HitPointsPerLevel : ""); f.HitPointsPerLevel = 0; } }
public BonusFeatureEditModel(BonusFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { if (f.DamageBonusModifier != Ability.None) { f.DamageBonus = ResourceFeatureEditModel.convert(f.DamageBonusModifier, f.DamageBonus); f.DamageBonusModifier = Ability.None; } }
public ResourceFeatureEditModel(ResourceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { if (f.ValueBonus != Ability.None) { f.Value = convert(f.ValueBonus, f.Value); f.ValueBonus = Ability.None; } }
public AbilityFeatFeatureEditModel(AbilityScoreFeatFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public SkillProficiencyFeatureEditModel(SkillProficiencyFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public AddSpellsFeatureEditModel(BonusSpellPrepareFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public SpellchoiceFeatureEditModel(SpellChoiceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public ToolProficiencyExpressionFeatureEditModel(ToolKWProficiencyFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public BonusSpellFeatureEditModel(BonusSpellFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public FeatureEditModel(T feature, IEditModel parent, FeatureViewModel fvm) : base(feature.Keywords, parent) { Feature = feature; Model = fvm; }
public ToolProficiencyChoiceFeatureEditModel(ToolProficiencyChoiceConditionFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public ExtraAttackFeatureEditModel(ExtraAttackFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public ItemChoiceCondtionEditModel(ItemChoiceConditionFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public VisionFeatureEditModel(VisionFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public SpellSlotsFeatureEditModel(SpellSlotsFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { Generate = new Command(() => { Text = Feature.tostring(); }); }
public FreeItemGoldFeatureEditModel(FreeItemAndGoldFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public IncreaseSpellchoiceEditModel(IncreaseSpellChoiceAmountFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public BonusSpellChoiceFeatureEditModel(BonusSpellKeywordChoiceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public SubRaceFeatureEditModel(SubRaceFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public ACFeatureEditModel(ACFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public SpellcastingFeatureEditModel(SpellcastingFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { if (f.PrepareCountAdditionalModifier != Ability.None) { f.PrepareCount = ResourceFeatureEditModel.convert(f.PrepareCountAdditionalModifier, f.PrepareCount); f.PrepareCountAdditionalModifier = Ability.None; } if (f.PrepareCountPerClassLevel != 0) { f.PrepareCount = (f.PrepareCount == null || f.PrepareCount.Trim() == "0" || f.PrepareCount.Trim() == "" ? "" : f.PrepareCount + " + ") + "ClassLevel" + (f.PrepareCountPerClassLevel > 1 ? " * " + f.PrepareCountPerClassLevel : ""); f.PrepareCountPerClassLevel = 0; } if (f.PrepareCountAdditional != 0) { f.PrepareCount = (f.PrepareCount == null || f.PrepareCount.Trim() == "0" || f.PrepareCount.Trim() == "" ? "" : f.PrepareCount + " + ") + f.PrepareCountAdditional; f.PrepareCountAdditional = 0; } }
public SpeedFeatureEditModel(SpeedFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public LanguageProficiencyChoiceFeatureEditModel(LanguageChoiceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public MultiFeatureEditModel(MultiFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public ResistanceFeatureEditModel(ResistanceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public CollectionChoiceFeatureEditModel(CollectionChoiceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public ModifySpellchoiceEditModel(ModifySpellChoiceFeature feature, IEditModel parent, FeatureViewModel fvm) : base(feature, parent, fvm) { }
public FormsCompanionsBonusFeatureEditModel(FormsCompanionsBonusFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }
public ItemChoiceEditModel(ItemChoiceFeature f, IEditModel parent, FeatureViewModel fvm) : base(f, parent, fvm) { }