Skip to content

Commit

Permalink
### ToyBox Rogue - Ver 1.7.9 built for Rogue Trader 1.3.1.6
Browse files Browse the repository at this point in the history
* (***ADDB***) Fix Dice Rolls Cheats (e.g. "Always Roll 1") using the wrong unit as initiator for the damage negation roll from the "The Emperor Protects" feature. E.g. this could result in enemies being invincible if "Always Roll 1" is activated for the Party.
* (***ADDB***) Fix "Ignore Talent Prerequisites", "Ignore Required Stat Values" and "Ignore Required Class Levels" not working for inverted checks. *Note: Unconfirmed since nobody was available for testing*
* (***ADDB***) Fix localization removing Add/Remove buttons from Party Editor Browsers.
* (***ADDB***) Patch Tool: Remove NameSpace from generic types, making list types a lot more readable
* (***ADDB***) Patch Tool: Implement being able to null/delete field values (hidden by default)
* (***ADDB***) Patch Tool: Implement being able to create field values (hidden by default)
* (***ADDB***) Patch Tool: Add toggle to keep fields open after changing a value
* (***ADDB***) Patch Tool: Rewrite UI to be path based --> Allow patching struct types
* (***ADDB***) Patch Tool: Fix patching some Blueprints causing CTDs
* (***ADDB***) Patch Tool: Fix patching some other Blueprints causing CTDs
* (***ADDB***) Patch Tool: Fix adding new elements to Collections of references breaking things
* (***ADDB***) Add Slider to Enhanced Camera to (persistently) offset the Camera Elevation by a specified value
  • Loading branch information
xADDBx committed Jan 22, 2025
1 parent 0887108 commit 1ca2534
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ToyBox/Classes/MonkeyPatchin/BagOfPatches/LevelUpPatchesRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static class PrerequisiteLevelPatch {
[HarmonyPostfix]
public static void MeetsInternal(PrerequisiteLevel __instance, IBaseUnitEntity unit, ref bool __result) {
if (!unit.IsPartyOrPetInterface()) return; // don't give extra feats to NPCs
if (!__result && Settings.toggleIgnorePrerequisiteClassLevel) {
if (!(__result ^ __instance.Not) && Settings.toggleIgnorePrerequisiteClassLevel) {
OwlLogging.Log($"PrerequisiteLevel.MeetsInternal - {unit.CharacterName} - {__instance.GetCaptionInternal()} -{__result} -> {true} ");
__result = !__instance.Not;
}
Expand All @@ -98,7 +98,7 @@ public static class PrerequisiteFactPatch {
[HarmonyPostfix]
public static void MeetsInternal(PrerequisiteFact __instance, IBaseUnitEntity unit, ref bool __result) {
if (!unit.IsPartyOrPetInterface()) return; // don't give extra feats to NPCs
if (!__result && Settings.toggleFeaturesIgnorePrerequisites) {
if (!(__result ^ __instance.Not) && Settings.toggleFeaturesIgnorePrerequisites) {
if (!new StackTrace().ToString().Contains("Kingmaker.UI.MVVM.VM.CharGen")) {
OwlLogging.Log($"PrerequisiteFact.MeetsInternal - {unit.CharacterName} - {__instance.GetCaptionInternal()} - {__result} -> {true} (Not: {__instance.Not}");
__result = !__instance.Not;
Expand All @@ -111,7 +111,7 @@ public static class PrerequisiteStatPatch {
[HarmonyPostfix]
public static void MeetsInternal(PrerequisiteStat __instance, IBaseUnitEntity unit, ref bool __result) {
if (!unit.IsPartyOrPetInterface()) return; // don't give extra feats to NPCs
if (!__result && Settings.toggleIgnorePrerequisiteStatValue) {
if (!(__result ^ __instance.Not) && Settings.toggleIgnorePrerequisiteStatValue) {
OwlLogging.Log($"PrerequisiteStat.MeetsInternal - {unit.CharacterName} - {__instance.GetCaptionInternal()} -{__result} -> {true} ");
__result = !__instance.Not;
}
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/ModDetails/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "0ToyBox0",
"DisplayName": "ToyBox for RogueTrader",
"Author": "Narria, ADDB",
"Version": "1.7.8",
"Version": "1.7.9",
"ManagerVersion": "0.23.0",
"Requirements": [],
"AssemblyName": "ToyBox.dll",
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/ModDetails/OwlcatModificationManifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"UniqueName": "0ToyBox0",
"Version": "1.7.7",
"Version": "1.7.9",
"DisplayName": "ToyBox for RogueTrader",
"Description": "Use Workshop-description.txt",
"Author": "Narria, ADDB",
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/ModDetails/Repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Releases": [
{
"Id": "0ToyBox0",
"Version": "1.7.8"
"Version": "1.7.9"
}
]
}
2 changes: 1 addition & 1 deletion ToyBox/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Here is a summarized list of features. This list only includes a part of the fea

### ToyBox Rogue - Ver 1.7.9 built for Rogue Trader 1.3.1.6
* (***ADDB***) Fix Dice Rolls Cheats (e.g. "Always Roll 1") using the wrong unit as initiator for the damage negation roll from the "The Emperor Protects" feature. E.g. this could result in enemies being invincible if "Always Roll 1" is activated for the Party.
* (***ADDB***) Fix "Ignore Talent Prerequisites", "Ignore Required Stat Values" and "Ignore Required Class Levels" not working for inverted checks.
* (***ADDB***) Fix "Ignore Talent Prerequisites", "Ignore Required Stat Values" and "Ignore Required Class Levels" not working for inverted checks. *Note: Unconfirmed since nobody was available for testing*
* (***ADDB***) Fix localization removing Add/Remove buttons from Party Editor Browsers.
* (***ADDB***) Patch Tool: Remove NameSpace from generic types, making list types a lot more readable
* (***ADDB***) Patch Tool: Implement being able to null/delete field values (hidden by default)
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/ToyBoxRT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Description>ToyBox</Description>
<AppDesignerFolder>Properties</AppDesignerFolder>
<OutputType>Library</OutputType>
<Version>1.7.8</Version>
<Version>1.7.9</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Nullable>annotations</Nullable>
Expand Down

0 comments on commit 1ca2534

Please sign in to comment.