static BlueprintFeature CreateTimeFlicker()
        {
            // Note: reworked to use Displacement instead of Blink
            var blurBuff         = library.Get <BlueprintBuff>("dd3ad347240624d46a11a092b4dd4674");
            var displacement     = library.Get <BlueprintAbility>("903092f6488f9ce45a80943923576ab3");
            var displacementBuff = library.Get <BlueprintBuff>("00402bae4442a854081264e498e7a833");

            var feat = Helpers.CreateFeature("MysteryTimeFlicker", "时空闪现",
                                             "以一个标准动作,你在时空之间跳跃,造成如同“朦胧术”的效果。每日你可以使用此能力的分钟数相当于你的先知等级。这些时间不需要是连续的,但必须以1分钟为单位使用。7级时你可以选择造成“闪现术”的效果,不过处在闪现状态下的每轮将消耗你1分钟的使用时数。你必须达到3级才能选择此启示。",
                                             "76384613da7f419dbda62cf482343ef8", displacement.Icon, FeatureGroup.None);
            var resource = Helpers.CreateAbilityResource($"{feat.name}Resource", "", "", "c8fba597ff6545afa4b5567a663dc4eb", null);

            resource.SetIncreasedByLevel(0, 1, oracleArray);

            var blurAbility         = CreateAbilityForBuff(feat, resource, blurBuff, DurationRate.Minutes, " — " + blurBuff.Name);
            var displacementAbility = CreateAbilityForBuff(feat, resource, displacementBuff, DurationRate.Rounds, " — " + displacement.Name);

            ExclusiveAbilityToggle.AddToAbilities(blurAbility, displacementAbility);
            feat.SetComponents(
                oracle.PrerequisiteClassLevel(3),
                resource.CreateAddAbilityResource(),
                blurAbility.CreateAddFact(),
                displacementAbility.CreateAddFactOnLevelRange(oracle, 7));
            return(feat);
        }
        static BlueprintFeature CreateTimeFlicker()
        {
            // Note: reworked to use Displacement instead of Blink
            var blurBuff         = library.Get <BlueprintBuff>("dd3ad347240624d46a11a092b4dd4674");
            var displacement     = library.Get <BlueprintAbility>("903092f6488f9ce45a80943923576ab3");
            var displacementBuff = library.Get <BlueprintBuff>("00402bae4442a854081264e498e7a833");

            var feat = Helpers.CreateFeature("MysteryTimeFlicker", "Time Flicker",
                                             "As a standard action, you can flicker in and out of time, gaining concealment (as the blur spell). You can use this ability for 1 minute per oracle level that you possess per day. This duration does not need to be consecutive, but it must be spent in 1-minute increments. At 7th level, each time you activate this ability, you can treat it as the displacement spell, though each round spent this way counts as 1 minute of your normal time flicker duration. You must be at least 3rd level to select this revelation.",
                                             "76384613da7f419dbda62cf482343ef8", displacement.Icon, FeatureGroup.None);
            var resource = Helpers.CreateAbilityResource($"{feat.name}Resource", "", "", "c8fba597ff6545afa4b5567a663dc4eb", null);

            resource.SetIncreasedByLevel(0, 1, oracleArray);

            var blurAbility         = CreateAbilityForBuff(feat, resource, blurBuff, DurationRate.Minutes, " — " + blurBuff.Name);
            var displacementAbility = CreateAbilityForBuff(feat, resource, displacementBuff, DurationRate.Rounds, " — " + displacement.Name);

            ExclusiveAbilityToggle.AddToAbilities(blurAbility, displacementAbility);
            feat.SetComponents(
                oracle.PrerequisiteClassLevel(3),
                resource.CreateAddAbilityResource(),
                blurAbility.CreateAddFact(),
                displacementAbility.CreateAddFactOnLevelRange(oracle, 7));
            return(feat);
        }
Ejemplo n.º 3
0
        static BlueprintFeature CreateTimeFlicker()
        {
            // Note: reworked to use Displacement instead of Blink
            var blurBuff         = library.Get <BlueprintBuff>("dd3ad347240624d46a11a092b4dd4674");
            var displacement     = library.Get <BlueprintAbility>("903092f6488f9ce45a80943923576ab3");
            var displacementBuff = library.Get <BlueprintBuff>("00402bae4442a854081264e498e7a833");

            var feat = Helpers.CreateFeature("MysteryTimeFlicker", RES.MysteryTimeFlickerName_info,
                                             RES.MysteryTimeFlickerDescription_info,
                                             "76384613da7f419dbda62cf482343ef8", displacement.Icon, FeatureGroup.None);
            var resource = Helpers.CreateAbilityResource($"{feat.name}Resource", "", "", "c8fba597ff6545afa4b5567a663dc4eb", null);

            resource.SetIncreasedByLevel(0, 1, oracleArray);

            var blurAbility         = CreateAbilityForBuff(feat, resource, blurBuff, DurationRate.Minutes, String.Format(RES.TypeHyphenSubtype_info, "", blurBuff.Name));
            var displacementAbility = CreateAbilityForBuff(feat, resource, displacementBuff, DurationRate.Rounds, String.Format(RES.TypeHyphenSubtype_info, "", displacement.Name));

            ExclusiveAbilityToggle.AddToAbilities(blurAbility, displacementAbility);
            feat.SetComponents(
                oracle.PrerequisiteClassLevel(3),
                resource.CreateAddAbilityResource(),
                blurAbility.CreateAddFact(),
                displacementAbility.CreateAddFactOnLevelRange(oracle, 7));
            return(feat);
        }