Skip to content

Commit

Permalink
Added support for Scalykind
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Nov 18, 2024
1 parent 6c54627 commit 51fec7d
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 389 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Version 2.6.10
* Changes
* Abundant Blessing is no longer avaiable and has instead been combined with Enhanced Blessing.
* Added support for Quicken Blessing to Scalykind.
* Fixes
* Fixed Lethal Stance bonuses sometimes applying twice.
* Fixed Crippling Strike prerequisites being broken.
Expand Down
2 changes: 1 addition & 1 deletion Repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Releases": [
{
"Id": "TabletopTweaks-Base",
"Version": "2.6.9"
"Version": "2.6.10"
}
]
}
1 change: 1 addition & 0 deletions TabletopTweaks-Base/Config/Blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,7 @@
"QuickenBlessingProtectionFeature": "b1c084e9-f557-4c10-a888-3dbf04d12691",
"QuickenBlessingReposeFeature": "b244a141-9415-4c8c-ab3b-f44b4b0ff9cc",
"QuickenBlessingRuneFeature": "40b743a8-2ccc-47a1-89ee-a8e0638e236b",
"QuickenBlessingScalykindFeature": "01381197-1925-4ce3-9de0-4d9893001b77",
"QuickenBlessingSunFeature": "260f1c97-7e41-44f0-b5a2-9b0973990af7",
"QuickenBlessingTravelFeature": "4d93dc80-eb32-405a-86ee-2abb3cf94f8f",
"QuickenBlessingTrickeryFeature": "f5ffcbdc-3638-4c44-b6e7-95fc77b63639",
Expand Down
442 changes: 56 additions & 386 deletions TabletopTweaks-Base/Localization/LocalizationPack.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions TabletopTweaks-Base/NewContent/Feats/QuickenBlessing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static void AddQuickenBlessing() {
var ProtectionBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("c6a3fa9d8d7f942499e4909cd01ca22d");
var ReposeBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("64a416082927673409deb330af04d6d2");
var RuneBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("f76713cc1768432cab0d6352f030519d");
var ScalykindBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("606ca13281f4404a9c224aa7ce8a802e");
var StrengthBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("44f9162736a5c2040ae8ede853bc6639");
var SunBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("ba825e3c77acaec4386e00f691f8f3be");
var TravelBlessingFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("87641a8efec53d64d853ecc436234dce");
Expand Down Expand Up @@ -89,6 +90,8 @@ public static void AddQuickenBlessing() {
var ProtectionBlessingMinorAbility = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("9c23340b6eed989459a648874910230a");
var ReposeBlessingMinorAbility = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("df99fdc53432031458deeaa21121a847");
var RuneBlessingMinorAbility = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("0da8c31187f34f28af5ef3023cd332a4");
var ScalykindBlessingMinorAbility = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("80cfe395128b4531a6b9ce339a75ca52");
var ScalykindBlessingMajorAbility = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("411fbbff50984848b1f75ba14a554b6f");
var SunBlessingMajorAbilityBoth = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("fb2ff8221d4c1834c893507d0d4e1fa1");
var SunBlessingMajorAbilityFlaming = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("6aa7160535c9dd74ca707b72c68dac89");
var SunBlessingMajorAbilityUndeadBane = BlueprintTools.GetBlueprintReference<BlueprintAbilityReference>("6eb4da544d0e87346a4dc403f9382f89");
Expand Down Expand Up @@ -145,6 +148,7 @@ public static void AddQuickenBlessing() {
CreateQuickenedBlessing("Protection", ProtectionBlessingFeature, ProtectionBlessingMinorAbility, ProtectionBlessingMinorAbility),
CreateQuickenedBlessing("Repose", ReposeBlessingFeature, ReposeBlessingMinorAbility),
CreateQuickenedBlessing("Rune", RuneBlessingFeature, RuneBlessingMinorAbility),
CreateQuickenedBlessing("Scalykind", ScalykindBlessingFeature, ScalykindBlessingMinorAbility, ScalykindBlessingMajorAbility),
CreateQuickenedBlessing("Sun", SunBlessingFeature, SunBlessingMinorAbility, SunBlessingMajorAbilityFlaming, SunBlessingMajorAbilityUndeadBane, SunBlessingMajorAbilityBoth),
CreateQuickenedBlessing("Travel", TravelBlessingFeature, TravelBlessingMajorAbility),
CreateQuickenedBlessing("Trickery", TrickeryBlessingFeature, TrickeryBlessingMinorAbility),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void AddAbundantBlessing() {
});

if (TTTContext.AddedContent.MythicAbilities.IsDisabled("AbundantBlessing")) { return; }
FeatTools.AddAsMythicAbility(AbundantBlessingFeature);
//FeatTools.AddAsMythicAbility(AbundantBlessingFeature);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
using Kingmaker.Blueprints.Classes.Selection;
using Kingmaker.Designers.Mechanics.Facts;
using Kingmaker.UnitLogic.Abilities;
using Kingmaker.UnitLogic.FactLogic;
using Kingmaker.UnitLogic.Mechanics.Components;
using Kingmaker.UnitLogic.Mechanics;
using System.Linq;
using TabletopTweaks.Core.Utilities;
using static Kingmaker.Designers.Mechanics.Facts.AutoMetamagic;
Expand All @@ -11,6 +14,7 @@
namespace TabletopTweaks.Base.NewContent.MythicAbilities {
static class EnhancedBlessings {
public static void AddEnhancedBlessings() {
var BlessingResource = BlueprintTools.GetBlueprintReference<BlueprintAbilityResourceReference>("d128a6332e4ea7c4a9862b9fdb358cca");
var DomainMastery = BlueprintTools.GetBlueprint<BlueprintFeature>("2de64f6a1f2baee4f9b7e52e3f046ec5");
var BlessingSelection = BlueprintTools.GetBlueprint<BlueprintFeatureSelection>("6d9dcc2a59210a14891aeedb09d406aa");
var blessingAbilities = new BlueprintAbilityReference[] {
Expand Down Expand Up @@ -85,7 +89,7 @@ public static void AddEnhancedBlessings() {
bp.m_Icon = DomainMastery.m_Icon;
bp.SetName(TTTContext, "Enhanced Blessings");
bp.SetDescription(TTTContext, "You have moved closer to your deity and to the power it has over its blessings.\n" +
"The effects from your blessings now last twice as long.");
"The effects from your blessings now last twice as long and you can use Blessings a number of additional times per day equal to your mythic rank.");
bp.IsClassFeature = true;
bp.Ranks = 1;
bp.Groups = new FeatureGroup[] { FeatureGroup.MythicFeat };
Expand All @@ -95,6 +99,16 @@ public static void AddEnhancedBlessings() {
c.Metamagic = Metamagic.Extend;
c.Abilities = blessingAbilities.ToList();
});
bp.AddComponent<IncreaseResourceAmountBySharedValue>(c => {
c.Value = new ContextValue() {
ValueType = ContextValueType.Rank
};
c.m_Resource = BlessingResource;
});
bp.AddContextRankConfig(c => {
c.m_BaseValueType = ContextRankBaseValueType.MythicLevel;
c.m_Progression = ContextRankProgression.AsIs;
});
bp.AddPrerequisiteFeature(BlessingSelection);
});
if (TTTContext.AddedContent.MythicAbilities.IsDisabled("EnhancedBlessings")) { return; }
Expand Down

0 comments on commit 51fec7d

Please sign in to comment.