Skip to content

Commit

Permalink
1.4.15: Fix for E Scion Sage Second Bloodline
Browse files Browse the repository at this point in the history
  • Loading branch information
pheonix99 committed May 8, 2023
1 parent 365c10e commit c5b29f6
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ NOW REQUIRES TabletopTweaks Core Module and ModMenu

## Changelog

### 1.4.15

Fixed Second Bloodline progression for Sage Eldritch Scion


### 1.4.14

Added Mass Fly
Expand Down
1 change: 1 addition & 0 deletions TomeOfTheFirebird/BuildContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ static void Postfix()


LocalizationTool.LoadLocalizationPack("Mods\\TomeOfTheFirebird\\Localization\\Settings.json");
LocalizationTool.LoadLocalizationPack("Mods\\TomeOfTheFirebird\\Localization\\ClassesAndArchetypes.json");
//LocalizationTool.LoadLocalizationPack("Mods\\TomeOfTheFirebird\\Localization\\LocalizationPack.json");
LocalizationTool.LoadLocalizationPack("Mods\\TomeOfTheFirebird\\Localization\\Spells.json");
LocalizationTool.LoadLocalizationPack("Mods\\TomeOfTheFirebird\\Localization\\Bloodlines.json");
Expand Down
2 changes: 1 addition & 1 deletion TomeOfTheFirebird/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "TomeOfTheFirebird",
"DisplayName": "Tome Of The Firebird",
"Author": "pheonix99",
"Version": "1.4.14",
"Version": "1.4.15",
"ManagerVersion": "0.21.3",
"AssemblyName": "TomeOfTheFirebird.dll",
"EntryMethod": "TomeOfTheFirebird.Main.Load",
Expand Down
12 changes: 12 additions & 0 deletions TomeOfTheFirebird/Localization/ClassesAndArchetypes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"Key": "EldritchScionSageArchetype.Name",
"ProcessTemplates": false,
"enGB": "Eldritch Scion (Sage)"
},
{
"Key": "EldritchScionSageArchetype.Description",
"ProcessTemplates": true,
"enGB": "Unlike typical magi, sage eldritch scions do not only study tomes of magic or spend time learning to combine martial and magical {g|Encyclopedia:Skills}skills{/g}. Rather, their magic comes from the knowledge and traditions that your bloodline accumulated through the generations, not just from force of personality. You use your {g|Encyclopedia:Intelligence}Intelligence{/g} to determine the effectiveness of your spells and magus class features like a normal magus, and to determine the effects of bloodline powers like a sage sorcerer."
}
]
10 changes: 10 additions & 0 deletions TomeOfTheFirebird/Localization/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@
"Key": "TotF.Settings.AddDeitySpecificSpells.Desc",
"ProcessTemplates": false,
"enGB": "Enables the unique spell rules for various deities. Currently only works with base game dieties and spells for cleric/warpriest/paladin/ranger."
},
{
"Key": "TotF.Settings.EldritchScionSage.Name",
"ProcessTemplates": false,
"enGB": "Eldritch Scion (Sage)"
},
{
"Key": "TotF.Settings.EldritchScionSage.Desc",
"ProcessTemplates": false,
"enGB": "Adds Eldritch Scion version of Sage Sorc."
}

]
6 changes: 3 additions & 3 deletions TomeOfTheFirebird/New Content/Archetypes/EldritchScionSage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public static void Make()
var sysname = "EldritchScionSageArchetype";
var bp = Main.TotFContext.Blueprints.GetGUID(sysname);
var EScionSage = ArchetypeConfigurator.New(sysname, bp.ToString());
EScionSage.SetLocalizedName(LocalizationTool.CreateString(sysname + ".Name", "Eldritch Scion (Sage)"));
EScionSage.SetLocalizedDescription(LocalizationTool.CreateString(sysname + ".Desc", "Unlike typical magi, sage eldritch scions do not only study tomes of magic or spend time learning to combine martial and magical {g|Encyclopedia:Skills}skills{/g}. Rather, their magic comes from the knowledge and traditions that your bloodline accumulated through the generations, not just from force of personality. You use your {g|Encyclopedia:Intelligence}Intelligence{/g} to determine the effectiveness of your spells and magus class features like a normal magus, and to determine the effects of bloodline powers like a sage sorcerer."));
EScionSage.SetLocalizedName(sysname + ".Name");
EScionSage.SetLocalizedDescription(sysname + ".Desc");
EScionSage.SetReplaceSpellbook(spellbook);
EScionSage.SetBuildChanging(true);
EScionSage.SetParentClass(magus);
Expand Down Expand Up @@ -125,7 +125,7 @@ public static void Link()
}
}
}).Configure();
}).AddToArchetypes("EldritchScionSageArchetype").Configure();
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion TomeOfTheFirebird/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void Make()


builder.AddSubHeader(GetString("Archetypes.Title"), startExpanded: true);
builder.AddToggle(MakeToggle("eldritchscionsage", "Eldritch Scion (Sage)", true, "Adds Eldritch Scion version of Sage Sorc"));
builder.AddToggle(MakeLocalizedToggle("EldritchScionSage", true));

builder.AddSubHeader(GetString("ClassFeatures.Title"), startExpanded: true);
//builder.AddToggle(MakeToggle("BloodHavoc", "Bloodline Mutation: Blood Havoc", true, "Sorcerer / Bloodrager / Eldritch Scion alternate feature - increase attack spell damage by 1 per dice if spell is bloodline spell or caster has applicable spell focus"));
Expand Down
6 changes: 6 additions & 0 deletions TomeOfTheFirebird/TomeOfTheFirebird.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@
<EmbeddedResource Include="Localization\Kineticist.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>

<EmbeddedResource Include="Localization\ClassesAndArchetypes.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -425,6 +429,7 @@
<Localization Include="$(OutputPath)\Localization\Bloodlines.json" />
<Localization Include="$(OutputPath)\Localization\Feats.json" />
<Localization Include="$(OutputPath)\Localization\Kineticist.json" />
<Localization Include="$(OutputPath)\Localization\ClassesAndArchetypes.json" />
<Localization Include="$(OutputPath)\Localization\Spells.json" />
<SpellAssets Include="$(OutputPath)\Assets\Spells\BoneFists.png" />
<SpellAssets Include="$(OutputPath)\Assets\Spells\FreezingSphere.png" />
Expand Down Expand Up @@ -456,6 +461,7 @@
<Localization Include="$(OutputPath)\Localization\Bloodlines.json" />
<Localization Include="$(OutputPath)\Localization\Feats.json" />
<Localization Include="$(OutputPath)\Localization\Kineticist.json" />
<Localization Include="$(OutputPath)\Localization\ClassesAndArchetypes.json" />
<Localization Include="$(OutputPath)\Localization\Spells.json" />
<Localization Include="$(OutputPath)\Localization\Settings.json" />
</ItemGroup>
Expand Down

0 comments on commit c5b29f6

Please sign in to comment.