Jump to content

[Seeking Scripting Help]Changing Clearance Potion Functionality


Recommended Posts

Hello there!

I am the mod author of Better Combat Evolved 2.0, and I have run into a bit of a situation.

 

There is currently a HUGE bug with my mod, that being the Potion of Clearance (respec potion) does not refund the 18 skill points required to use additional "basic" skills which I've allowed Geralt to know at level 1.

 

My scripting knowledge is very limited, so I need some help. What I aim to accomplish is modifying the potion of clearance to refund all skills EXCEPT ranks 1 of the following: Whir, Rend, Arrow Deflection, All 10 general perks, and all 5 alternate signs.

 

Any help and/or tips for accomplishing this would be greatly appreciated!

 

- Chicken

Link to comment
Share on other sites

While I don't know the answer for sure, try looking at ResetCharacterDev() in PlayerAbilityManager.ws. Looks like the potion could be leveraging that function, so try editing it to not unlearn whirl, rend, etc...

 

On a slightly related note, take a look at Better Combat Enhanced Update. The guy claims to have removed the need to start a new game for the mod to work. He added a bunch of stuff in PlayerAbilityManager.ws for resetting geralt that could be helpful for porting the same functionality to BCEv. I'm assuming it sets him to lvl1 so you get accurate stat progression from level ups as well (but I don't recall seeing relevant code for it, so maybe not). I'm wondering if I could add a new console command that does the same thing. ie, cleardevelop without clearing all your quests and items. Hmm...

 

Great work on the mod btw!

 

EDIT: Just saw someone else got back to you with a solution... but I was totally right XD

Edited by realultimatepower
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...