Skip to content

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Mar 7, 2023
1 parent b586537 commit a9165bf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion TabletopTweaks-Flanking/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Id": "TabletopTweaks-Flanking",
"ManagerVersion": "0.23.0",
"Repository": "https://raw.githubusercontent.com/Vek17/TabletopTweaks-Flanking/master/Repository.json",
"Requirements": [ "TabletopTweaks-Core" ],
"Requirements": [ "TabletopTweaks-Core-0.5.10" ],
"LoadAfter": [ "TabletopTweaks-Core" ],
"Version": "0.1.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ namespace TabletopTweaks.Flanking.NewContent.Feats.TeamworkFeats {
internal class ImprovedOutflank {
public static void AddImprovedOutflank() {
var Outflank = BlueprintTools.GetBlueprint<BlueprintFeature>("422dab7309e1ad343935f33a4d6e9f11");
var Icon = Outflank.Icon;
var Icon_ImprovedOutflank = AssetLoader.LoadInternal(TTTContext, folder: "Feats", file: "Icon_ImprovedOutflank.png");

var ImprovedOutflank = Helpers.CreateBlueprint<BlueprintFeature>(TTTContext, "ImprovedOutflank", bp => {
bp.SetName(TTTContext, "Improved Outflank");
bp.SetDescription(TTTContext, "You can easily find openings in your enemies’ defenses.\n" +
"Benefit: Whenever you and an ally who also has this feat are threatening the same foe, " +
"you are considered to be flanking if you are at least perpendicular with your ally.\n" +
"Normal: You must be positioned opposite an ally to flank an opponent.");
bp.m_Icon = Icon;
bp.m_Icon = Icon_ImprovedOutflank;
bp.Ranks = 1;
bp.IsClassFeature = true;
bp.Groups = new FeatureGroup[] { FeatureGroup.Feat, FeatureGroup.TeamworkFeat, FeatureGroup.CombatFeat };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace TabletopTweaks.Flanking.NewContent.Feats.TeamworkFeats {
internal class PackFlanking {
public static void AddPackFlanking() {
var CombatExpertiseFeature = BlueprintTools.GetBlueprint<BlueprintFeature>("4c44724ffa8844f4d9bedb5bb27d144a");
var Icon = CombatExpertiseFeature.Icon;
var Icon_PackFlanking = AssetLoader.LoadInternal(TTTContext, folder: "Feats", file: "Icon_PackFlanking.png");

var PackFlanking = Helpers.CreateBlueprint<BlueprintFeature>(TTTContext, "PackFlanking", bp => {
bp.SetName(TTTContext, "Pack Flanking");
Expand All @@ -21,7 +21,7 @@ public static void AddPackFlanking() {
"and you both threaten the same opponent, you are both considered to be flanking that opponent, " +
"regardless of your actual positioning.\n" +
"Normal: You must be positioned opposite an ally to flank an opponent.");
bp.m_Icon = Icon;
bp.m_Icon = Icon_PackFlanking;
bp.Ranks = 1;
bp.IsClassFeature = true;
bp.Groups = new FeatureGroup[] { FeatureGroup.Feat, FeatureGroup.TeamworkFeat, FeatureGroup.CombatFeat };
Expand Down
8 changes: 7 additions & 1 deletion TabletopTweaks-Flanking/TabletopTweaks-Flanking.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,14 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Folder Include="Assets\" />
<Content Include="Assets\Feats\Icon_ImprovedOutflank.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Assets\Feats\Icon_PackFlanking.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" AfterTargets="BeforeClean">
Expand Down

0 comments on commit a9165bf

Please sign in to comment.