static BlueprintFeature CreateSpiritBoost() { var falseLifeBuff = library.Get <BlueprintBuff>("0fdb3cca6744fd94b9436459e6d9b947"); var feat = Helpers.CreateFeature("MysteryLifeSpiritBoost", "灵性提升", "如果你的治疗法术把目标的生命提升到最大值以上的话,多出的治疗量将以临时生命值的方式保存,持续时间最多每先知等级1轮(最大临时生命值等同于你的先知等级)。", "769eba54ba5f40548eab67f0c5aff6e4", falseLifeBuff.Icon, FeatureGroup.None); var buff = library.CopyAndAdd(falseLifeBuff, $"{feat.name}Buff", "9a163797dcfa4d87a2162f41079491be"); buff.SetComponents( buff.GetComponent <TemporaryHitPointsFromAbilityValue>(), buff.GetComponent <SpellDescriptorComponent>()); feat.SetComponents(MysteryLifeSpiritBoostLogic.Create(buff)); return(feat); }
static BlueprintFeature CreateSpiritBoost() { var falseLifeBuff = library.Get <BlueprintBuff>("0fdb3cca6744fd94b9436459e6d9b947"); var feat = Helpers.CreateFeature("MysteryLifeSpiritBoost", RES.SpiritBoostFeatureName_info, RES.SpiritBoostFeatureDescription_info, "769eba54ba5f40548eab67f0c5aff6e4", falseLifeBuff.Icon, FeatureGroup.None); var buff = library.CopyAndAdd(falseLifeBuff, $"{feat.name}Buff", "9a163797dcfa4d87a2162f41079491be"); buff.SetComponents( buff.GetComponent <TemporaryHitPointsFromAbilityValue>(), buff.GetComponent <SpellDescriptorComponent>()); feat.SetComponents(MysteryLifeSpiritBoostLogic.Create(buff)); return(feat); }
static BlueprintFeature CreateSpiritBoost() { var falseLifeBuff = library.Get <BlueprintBuff>("0fdb3cca6744fd94b9436459e6d9b947"); var feat = Helpers.CreateFeature("MysteryLifeSpiritBoost", "Spirit Boost", "Whenever your healing spells heal a target up to its maximum hit points, any excess points persist for 1 round per level as temporary hit points (up to a maximum number of temporary hit points equal to your oracle level).", "769eba54ba5f40548eab67f0c5aff6e4", falseLifeBuff.Icon, FeatureGroup.None); var buff = library.CopyAndAdd(falseLifeBuff, $"{feat.name}Buff", "9a163797dcfa4d87a2162f41079491be"); buff.SetComponents( buff.GetComponent <TemporaryHitPointsFromAbilityValue>(), buff.GetComponent <SpellDescriptorComponent>()); feat.SetComponents(MysteryLifeSpiritBoostLogic.Create(buff)); return(feat); }