Pathfinder: Wrath of the Righteous - Enhanced Edition

Pathfinder: Wrath of the Righteous - Enhanced Edition

View Stats:
Charles Jan 24, 2023 @ 4:53pm
Make Enduring spells affect abilities?
Is there a way to revert enduring spells to how it was at launch? I rather liked how it would affect abilities. It was a lot of fun to mess around with and really removed a lot of tedium.

I don't really have the requisite skills to make a mod to change it, so I was figured I would ask around and see if anybody knows of a way to revert enduring spells.

---Solution---
I found a solution so I figured I would document it here, both for future me and for anyone who wants enduring spells to affect abilities.

Please note that this edit is not exactly clean so you will be editing the actual game files and not making a mod. That means that every time you verify the files or update the game you will probably need to change it again. I just lack the skill to actually write a mod.

1. If you check the modding guide for wrath of the righteous they suggest using a tool called DnSpy. It allows you to poke around the .dll files and even edit them while not really knowing all that much about programming.

2. Go to your install directory and navigate the files to "Pathfinder Second Adventure\Wrath_Data\Managed" In there you will a file called Assembly-CSharp.dll.

3. Open this file with DnSpy

4. Use the search function and search for "EnduringSpells" exactly as it is between the quotes. A few options should appear below. Click the one that looks like what we searched for.

5. In the second block of code there is a line that looks like this.

"if (abilityData == null || abilityData.Spellbook == null || abilityData.SourceItem != null)"

Right click on this like and select edit method.

6. Remove the part about spellbooks. It should look like this once its done.

"if (abilityData == null || abilityData.SourceItem != null)"

I don't recommend copy and pasting as it might loose some formatting stuff. Instead just select the a in abilitydataspellbook and drag until you are right before the a in abilitydatasourceitem. Double check to make sure it looks right and then compile it.

7. Save the edit, if you just close out of the program it should prompt you to save.

That should do it and revert enduring spells to the old behavior of affecting spell like abilities. I did this in an ongoing play-through at the start of act 4 and noticed no adverse affects through to completion. Not a single bug! However I know next to nothing about modding so I would advise you to backup your save just in case. If everything goes horribly wrong just verify the files and it should fix it.
Last edited by Charles; Feb 4, 2023 @ 9:47pm
< >
Showing 1-2 of 2 comments
Sador Jan 25, 2023 @ 1:30am 
You could just use toybox to extend the duration if you don't mind using mods / cheats.
Last edited by Sador; Jan 25, 2023 @ 1:31am
Charles Feb 4, 2023 @ 9:12pm 
Originally posted by Sador:
You could just use toybox to extend the duration if you don't mind using mods / cheats.
Hey! Thanks for that suggestion! That would work but I do like having to plan around enduring spells. Something about using toybox for that feels too easy. But when I use enduring spells it feels like a really deep mechanic. It lets me think about all sorts of crazy builds that feel truly mythic.

On another note I actually got really annoyed when I found it was patched. Long story short I looked at the modding documentation and found a way to edit the files to revert it. Its not clean but it worked. I remembered this post after my latest play through and thought I would pop in and drop the solution. But I wanted to take a second to say thank you for helping, I appreciate it.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 24, 2023 @ 4:53pm
Posts: 2