Skip to content

Commit

Permalink
Merge pull request #4822 from SolastaMods/dev
Browse files Browse the repository at this point in the history
1.5.97.22
  • Loading branch information
ThyWoof authored Jul 20, 2024
2 parents dfa8c0b + c59fc22 commit ce03679
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
3 changes: 0 additions & 3 deletions SolastaUnfinishedBusiness/Api/DatabaseHelper-RELEASE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,6 @@ internal static class CharacterSubclassDefinitions
internal static CharacterSubclassDefinition MartialSpellblade { get; } =
GetDefinition<CharacterSubclassDefinition>("MartialSpellblade");

internal static CharacterSubclassDefinition PathBerserker { get; } =
GetDefinition<CharacterSubclassDefinition>("PathBerserker");

internal static CharacterSubclassDefinition PathClaw { get; } =
GetDefinition<CharacterSubclassDefinition>("PathClaw");

Expand Down
4 changes: 4 additions & 0 deletions SolastaUnfinishedBusiness/ChangelogHistory.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.5.97.22:

- fixed invalid condition checks leading to a soft lock on Master Duelist, Quivering Palm, and Taunter

1.5.97.21:

- added new subclass sprites to ones still leveraging duplicates
Expand Down
2 changes: 1 addition & 1 deletion SolastaUnfinishedBusiness/Info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Id": "SolastaUnfinishedBusiness",
"DisplayName": "<i>[<b>Un</b>]</i> <color=Orange>Finished Business</color>",
"Version": "1.5.97.21",
"Version": "1.5.97.22",
"GameVersion": "1.5.97",
"ManagerVersion": "0.24.0",
"AssemblyName": "SolastaUnfinishedBusiness.dll",
Expand Down
4 changes: 2 additions & 2 deletions SolastaUnfinishedBusiness/Models/CustomConditionsContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ Id.AttackReadied or
var rulesetTarget = target.RulesetActor;

if (!rulesetTarget.TryGetConditionOfCategoryAndType(
AttributeDefinitions.TagEffect, Taunted.Name, out var activeCondition) &&
activeCondition.SourceGuid == actingCharacter.Guid)
AttributeDefinitions.TagEffect, Taunted.Name, out var activeCondition) ||
activeCondition.SourceGuid != actingCharacter.Guid)
{
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ public IEnumerator OnPowerOrSpellFinishedByMe(CharacterActionMagicEffect action,
var rulesetTarget = target.RulesetCharacter;

if (!rulesetTarget.TryGetConditionOfCategoryAndType(
AttributeDefinitions.TagEffect, conditionDefinition.Name, out var activeCondition) &&
AttributeDefinitions.TagEffect, conditionDefinition.Name, out var activeCondition) ||
activeCondition.SourceGuid != attacker.Guid)
{
yield break;
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>net48</TargetFramework>
<AssemblyVersion>1.5.97.21</AssemblyVersion>
<AssemblyVersion>1.5.97.22</AssemblyVersion>
<RepositoryUrl>https://github.com/SolastaMods/SolastaUnfinishedBusiness</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Configurations>Debug Install;Release Install</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion SolastaUnfinishedBusiness/Subclasses/RoguishDuelist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public IEnumerator OnPhysicalAttackFinishedByMe(

// should only check the condition from the same source
if (!rulesetDefender.TryGetConditionOfCategoryAndType(
AttributeDefinitions.TagEffect, conditionDaringDuel.Name, out var activeCondition) &&
AttributeDefinitions.TagEffect, conditionDaringDuel.Name, out var activeCondition) ||
activeCondition.SourceGuid != attacker.Guid)
{
yield break;
Expand Down

0 comments on commit ce03679

Please sign in to comment.