Skip to content

Commit

Permalink
4.6.1: Fix problem of custom eye color not being applied to freshly c…
Browse files Browse the repository at this point in the history
…reated minions; change to CVL nuget package to see if that helps with the workflows
  • Loading branch information
jpw1991 committed Jan 17, 2024
1 parent e494126 commit b7e8226
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
name: ChebsNecromancy
jsonf: manifest.json
dlpath: https://github.com/jpw1991/chebs-necromancy/releases/download
dependencies: "ValheimModding-Jotunn@2.16.1" # dependencies separated by spaces
dependencies: "ValheimModding-Jotunn@2.16.2" # dependencies separated by spaces
categories: "Mods" # categories separated by spaces
namespace: ChebGonaz

Expand Down
2 changes: 1 addition & 1 deletion ChebsNecromancy/BasePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal class BasePlugin : BaseUnityPlugin
{
public const string PluginGuid = "com.chebgonaz.ChebsNecromancy";
public const string PluginName = "ChebsNecromancy";
public const string PluginVersion = "4.6.0";
public const string PluginVersion = "4.6.1";
private const string ConfigFileName = PluginGuid + ".cfg";
private static readonly string ConfigFileFullPath = Path.Combine(Paths.ConfigPath, ConfigFileName);

Expand Down
4 changes: 2 additions & 2 deletions ChebsNecromancy/ChebsNecromancy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
<Reference Include="assembly_valheim" Publicize="true">
<HintPath>..\..\..\.local\share\Steam\steamapps\common\Valheim\valheim_Data\Managed\assembly_valheim.dll</HintPath>
</Reference>
<Reference Include="ChebsValheimLibrary">
<HintPath>..\..\chebs-valheim-library\ChebsValheimLibrary\bin\Release\ChebsValheimLibrary.dll</HintPath>
<Reference Include="ChebsValheimLibrary, Version=2.5.3.0, Culture=en, processorArchitecture=MSIL">
<HintPath>..\packages\ChebsValheimLibrary.2.5.3\lib\net48\ChebsValheimLibrary.dll</HintPath>
</Reference>
<Reference Include="Jotunn, Version=2.16.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\JotunnLib.2.16.2\lib\net462\Jotunn.dll</HintPath>
Expand Down
2 changes: 2 additions & 0 deletions ChebsNecromancy/Minions/Draugr/DraugrMinion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ or DraugrType.WarriorTier3
minion.SetCreatedAtLevel(playerNecromancyLevel);
minion.ScaleEquipment(playerNecromancyLevel, armorType);
minion.ScaleStats(playerNecromancyLevel);

minion.Eye = InternalName.GetName(EyeConfig.Value);

if (Wand.FollowByDefault.Value)
{
Expand Down
2 changes: 2 additions & 0 deletions ChebsNecromancy/Minions/Skeletons/SkeletonMinion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ or SkeletonType.PoisonTier2
minion.ScaleEquipment(playerNecromancyLevel, skeletonType, armorType);
minion.ScaleStats(playerNecromancyLevel);

minion.Eye = InternalName.GetName(EyeConfig.Value);

if (skeletonType != SkeletonType.Woodcutter
&& skeletonType != SkeletonType.Miner)
{
Expand Down
1 change: 1 addition & 0 deletions ChebsNecromancy/Package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ A special thanks to the people who've helped me along the way:

Date | Version | Notes
--- | --- | ---
18/01/2024 | 4.6.1 | Fix problem of custom eye color not being applied to freshly created minions
17/01/2024 | 4.6.0 | Changing minion eye color added; changing minion cape emblems updates dynamically
07/01/2024 | 4.5.0 | PvP with friends as exceptions implemented via console commands.

Expand Down
2 changes: 1 addition & 1 deletion ChebsNecromancy/Package/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ChebsNecromancy",
"description": "Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.",
"version_number": "4.6.0",
"version_number": "4.6.1",
"website_url": "https://github.com/jpw1991/chebs-necromancy",
"dependencies": [
"ValheimModding-Jotunn-2.16.2"
Expand Down
4 changes: 2 additions & 2 deletions ChebsNecromancy/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.6.0.0")]
[assembly: AssemblyFileVersion("4.6.0.0")]
[assembly: AssemblyVersion("4.6.1.0")]
[assembly: AssemblyFileVersion("4.6.1.0")]

1 change: 1 addition & 0 deletions ChebsNecromancy/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BepInEx.AssemblyPublicizer.MSBuild" version="0.4.1" targetFramework="net48" developmentDependency="true" />
<package id="ChebsValheimLibrary" version="2.5.3" targetFramework="net48" />
<package id="HarmonyX" version="2.10.2" targetFramework="net48" />
<package id="JotunnLib" version="2.16.2" targetFramework="net48" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net48" />
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ A special thanks to the people who've helped me along the way:

Date | Version | Notes
--- | --- | ---
18/01/2024 | 4.6.1 | Fix problem of custom eye color not being applied to freshly created minions
17/01/2024 | 4.6.0 | Changing minion eye color added; changing minion cape emblems updates dynamically
07/01/2024 | 4.5.0 | PvP with friends as exceptions implemented via console commands.

Expand Down

0 comments on commit b7e8226

Please sign in to comment.