Skip to content

Commit

Permalink
prepare for 1.5.97.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyWoof committed Mar 10, 2024
1 parent c8d128f commit c2cf8de
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 24 deletions.
7 changes: 4 additions & 3 deletions SolastaUnfinishedBusiness/ChangelogHistory.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1.5.97.0:

UPDATED CODE BASE TO GAME VERSION 1.5.97
ATTENTION: latest UMM compatible version is 0.27.10. DON'T USE ANYTHING ABOVE

- added Longsword, Mace, and Shortsword items and respective recipes
- added Ranger Gloom Stalker subclass
Expand All @@ -10,16 +10,17 @@ UPDATED CODE BASE TO GAME VERSION 1.5.97
- fixed custom level up granting logic under multiclass scenarios [i.e.: Zen of Archery]
- fixed Devoted, Militia, and Troublemaker backgrounds interaction with flexible backgrounds
- fixed Fell Handed feat disadvantage reroll not using highest dice roll
- fixed Path of Elements elemental burst causing a mod instability
- fixed summons during combat loosing the selected position and falling
- fixed Wildling feral agility feature tired condition removal logic
- fixed Wizard Deadmaster necromancy bonus DC feature missing 4 spells
- fixed Wizard Dead Master necromancy bonus DC feature missing 4 spells

- improved Crusher feat to not require a modal on trigger
- improved Force Knight kinetic barrier feature modal description
- improved Imp impish wrath feature to not require a modal on trigger
- improved Oath of Altruism spiritual shielding feature modal description
- improved Path of the Elements elemental fury feature description
- improved Ranger Wildmaster subclass [RESPEC is required]
- improved Ranger Wild Master subclass [RESPEC is required]

- removed Ring Mail items and respective recipes [RESPEC is required]
- replaced Ranger Sky Warrior swift strike at 7th with ghostly howl
Expand Down
6 changes: 3 additions & 3 deletions SolastaUnfinishedBusiness/Info.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Id": "SolastaUnfinishedBusiness",
"DisplayName": "Unfinished Business [UB1]",
"Version": "1.5.94.56",
"GameVersion": "1.5.94",
"DisplayName": "<i>[<b>Un</b>]</i> <color=Orange>Finished Business</color>",
"Version": "1.5.97.0",
"GameVersion": "1.5.97",
"ManagerVersion": "0.24.0",
"AssemblyName": "SolastaUnfinishedBusiness.dll",
"EntryMethod": "SolastaUnfinishedBusiness.Main.Load",
Expand Down
27 changes: 10 additions & 17 deletions SolastaUnfinishedBusiness/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
using System.IO;
using System.Linq;
using System.Reflection;
using HarmonyLib;
using JetBrains.Annotations;
using SolastaUnfinishedBusiness.Api.ModKit;
using SolastaUnfinishedBusiness.Models;
using UnityModManagerNet;

namespace SolastaUnfinishedBusiness;

//#if DEBUG
//[EnableReloading]
//#endif
internal static class Main
{
internal static readonly string ModFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
Expand Down Expand Up @@ -66,17 +64,19 @@ internal static void Info(string msg)
[UsedImplicitly]
internal static bool Load([NotNull] UnityModManager.ModEntry modEntry)
{
ModEntry = modEntry;

var now = DateTime.Now;
var assembly = Assembly.GetExecutingAssembly();
var harmonyVersion = Assembly.GetAssembly(typeof(HarmonyPatch)).GetName().Version;

try
if (harmonyVersion.ToString() != "2.2.2.0" || !assembly.FullName.Contains("1.5.97.0"))
{
var assembly = Assembly.GetExecutingAssembly();

ModEntry = modEntry;
#if DEBUG
modEntry.OnUnload = Unload;
#endif
return false;
}

try
{
Mod = new ModManager<Core, Settings>();
Mod.Enable(modEntry, assembly);

Expand Down Expand Up @@ -109,13 +109,6 @@ internal static bool Load([NotNull] UnityModManager.ModEntry modEntry)

return true;
}
#if DEBUG
private static bool Unload(UnityModManager.ModEntry modEntry)
{
Mod.Unload();
return true;
}
#endif

internal static void LoadSettingFilenames()
{
Expand Down
2 changes: 1 addition & 1 deletion SolastaUnfinishedBusiness/SolastaUnfinishedBusiness.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<LangVersion>12</LangVersion>
<TargetFramework>net472</TargetFramework>
<AssemblyVersion>1.5.94.56</AssemblyVersion>
<AssemblyVersion>1.5.97.0</AssemblyVersion>
<RepositoryUrl>https://github.com/SolastaMods/SolastaUnfinishedBusiness</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Configurations>Debug Install;Release Install</Configurations>
Expand Down

0 comments on commit c2cf8de

Please sign in to comment.