static void createMartialTraining()
        {
            var combat_trick        = library.Get <BlueprintFeatureSelection>("c5158a6622d0b694a99efb1d0025d2c1");
            var martial_proficiency = library.Get <BlueprintFeature>("203992ef5b35c864390b4e4a1e200629");

            martial_training = library.CopyAndAdd <BlueprintFeature>("203992ef5b35c864390b4e4a1e200629", "SwashbucklerRogueMartialTraining", "");
            martial_training.SetNameDescription("Martial Training",
                                                "At 1st level, the swashbuckler receives proficiency with all martial weapons. In addition, she may take the combat trick rogue talent up to two times.");
            martial_training.ComponentsArray = new BlueprintComponent[] { Helpers.CreateAddFact(martial_proficiency) };
            swashbucler_combat_trick         = library.CopyAndAdd <BlueprintFeatureSelection>("c5158a6622d0b694a99efb1d0025d2c1", "SwashbucklerRogueCombatTrickFeatureSelection", "");
            swashbucler_combat_trick.ReplaceComponent <PrerequisiteNoFeature>(p => p.Feature = swashbucler_combat_trick);
            swashbucler_combat_trick.AddComponents(Helpers.PrerequisiteFeature(martial_training));
            swashbucler_combat_trick.AddComponents(Helpers.PrerequisiteFeature(combat_trick));
            RogueTalents.addToTalentSelection(swashbucler_combat_trick, false, false);
        }
Beispiel #2
0
        static void createFeatAndFixCombatTrick()
        {
            var combat_trick = library.Get <BlueprintFeatureSelection>("c5158a6622d0b694a99efb1d0025d2c1");

            combat_trick.AddComponent(Helpers.PrerequisiteNoFeature(combat_trick));

            feat = library.CopyAndAdd <BlueprintFeatureSelection>("247a4068296e8be42890143f451b4b45", "RogueTalentFeat", "");
            feat.SetDescription(" A rogue can gain any feat that she qualifies for in place of a rogue talent.");
            feat.AddComponents(Helpers.PrerequisiteNoFeature(feat));
            addToTalentSelection(feat, advanced: true);
        }