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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...