Skip to content

Commit

Permalink
Fix for Aivu progression
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Aug 30, 2023
1 parent 0f2c988 commit f7da5d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.2.9
* Fix for Aivu's progression happening faster than intended.

## Version 1.2.8
* Mythic Feats
* Mythic Improved Critical
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-Reworks",
"Version": "1.2.7"
"Version": "1.2.9"
}
]
}
6 changes: 6 additions & 0 deletions TabletopTweaks-Reworks/Patches/Azata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,18 @@ static class BlueprintsCache_Init_Patch {
var SonicCone30Feet00 = BlueprintTools.GetBlueprintReference<BlueprintProjectileReference>("c7fd792125b79904881530dbc2ff83de");
var DragonAzataSpecialAbilityTierII = BlueprintTools.GetBlueprintReference<BlueprintUnitFactReference>("491c677a0a602c34fbd9530ff53d6d4a");
var DragonClass = BlueprintTools.GetBlueprintReference<BlueprintCharacterClassReference>("01a754e7c1b7c5946ba895a5ff0faffc");
var DragonAzataArchetype = BlueprintTools.GetBlueprint<BlueprintArchetype>("6e6135c91c2f84e46b7bb49f2158a9ce");

var DragonAzataStatGrowth = BlueprintTools.GetModBlueprintReference<BlueprintFeatureReference>(TTTContext, "DragonAzataStatGrowth");
var DragonAzataTailSweep = BlueprintTools.GetModBlueprintReference<BlueprintUnitFactReference>(TTTContext, "DragonAzataTailSweep");
var DragonAzataDeadlyTail = BlueprintTools.GetModBlueprintReference<BlueprintUnitFactReference>(TTTContext, "DragonAzataDeadlyTail");
var DragonAzataDeliriumBreath = BlueprintTools.GetModBlueprintReference<BlueprintUnitFactReference>(TTTContext, "DragonAzataDeliriumBreath");
var DragonAzataHeroismEffect = BlueprintTools.GetModBlueprintReference<BlueprintBuffReference>(TTTContext, "DragonAzataHeroismEffect");

//Fix archetype progression
DragonAzataArchetype.TemporaryContext(bp => {
bp.AddFeatures = new LevelEntry[0];
});
//Apply Stat Upgrades
DragonAzataCompanionFeature.TemporaryContext(bp => {
bp.AddComponent<AddFeatureToPet>(c => {
Expand Down Expand Up @@ -459,6 +464,7 @@ static class BlueprintsCache_Init_Patch {
bp.SetDescription(TTTContext, "Azata creates a rainbow arrow that jumps from target to target up to one time per 4 caster levels, " +
"dealing 1d12 per 2 caster levels damage with one energy randomly chosen between acid, cold, electricity, fire, or sound. " +
"Additionally if the enemy fails a will saving throw they are randomly blinded, dazed, nauseated, slowed, or stunned for 3 rounds.");
bp.AvailableMetamagic |= Kingmaker.UnitLogic.Abilities.Metamagic.Persistent;
bp.SpellResistance = false;
bp.SetLocalizedSavingThrow(TTTContext, "Will partial");
bp.GetComponent<AbilityEffectRunAction>().TemporaryContext(c => {
Expand Down

0 comments on commit f7da5d7

Please sign in to comment.