Closed magicskysword closed 4 months ago
I found that it's possible that the problem is in SolastaUnfinishedBusiness/SolastaUnfinishedBusiness/Patches/RulesetCharacterPatcher.cs
line 1757
// supports mind sharpener infusion
if (__instance.CharacterInventory.InventorySlotsByName
.TryGetValue(EquipmentDefinitions.SlotTypeTorso, out var inventorySlot))
I guess it's because monsters don't have inventory, so I modify it to this:
// supports mind sharpener infusion
var inventory = __instance.CharacterInventory;
// monster don't have inventory
if (inventory != null && inventory.InventorySlotsByName
.TryGetValue(EquipmentDefinitions.SlotTypeTorso, out var inventorySlot))
This was the solution to my problem.
Thanks!
This happened while I was attacking an enemy who was maintaining focus.
ModVersion 1.5.97.14
SaveFile.zip