Jump to content

[Help](SOLVED) Soul Mirror: adjusting the 50% chance to Reflect


Recommended Posts

I've been making some mods for my own playthroughs with the Monk in Pillars 1, and I've found great success in making the adjustments I've wanted to by using Staehrminator's fantastic tutorial here: 
https://forums.obsidian.net/topic/86074-tutorial-editing-abilities-talents-and-items/

However, the one thing I haven't been able to figure out is changing the '50% chance to Reflect Ranged Attacks' of the 'Soul Mirror' ability. 

Following the method from the tutorial linked above, I was able to view the data of the largest MonoBehaviour asset in the soulmirror.unity3d file. But as shown in the picture below, its 'StatusEffectParams Status Effects' simply has nothing to edit.
Thus far, I've tried:

  1. Looking through the other MonoBehaviours/assets in the soulmirror.unity3d file.
  2. Searching the 'objectbundles' folder for any other files that might be related to it (like the 'spell_chance' files or the 'reflection'/'reflecting' files)
  3. Looking through the 'monkprogressiontable' object for any clues. 


I've tried just about everything I can think of, and maybe I'm missing something, but I'm at a loss in regards to where I can find this percentage chance and adjust it. So here I am seeking better wisdom 🙏 if anyone has any ideas as to what I could try next, I am open and super duper grateful haha 

_______________________________________________________________________________________________________________

UPDATE: I found a different way to change it. I had to download dnSpy and open the Assembly-CSharp.dll with it. I edited the SoulMirror script under '{ } - ', compiled it, and it works 👍 
I did have to add UnityEngine.dll as an Assembly Reference while Editing the Class to compile it, though. 

I'll leave this up in case anyone else wants to do this for themselves. Definitely make a backup of the Assembly-CSharp.dll if you decide to do this.

 

Evidence.PNG

Edited by Superpupdog
I figured it out
Link to comment
Share on other sites

  • Superpupdog changed the title to [Help](SOLVED) Soul Mirror: adjusting the 50% chance to Reflect

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...