Open pyro7r34d opened 2 months ago
Can you specify your use case? It looks like this is as simple as adding a reference to the NWN.Core
package to your code, and then adding the following line to wherever you want to call that function:
PlayerPlugin.UpdateCharacterSheet(playerId);
Can you specify your use case? It looks like this is as simple as adding a reference to the
NWN.Core
package to your code, and then adding the following line to wherever you want to call that function:PlayerPlugin.UpdateCharacterSheet(playerId);
My need to call it is when I'm doing AddOneHalfStrength dynamically in order to have a feat alllow for full strength of the offhand weapon instead of half on equip.
I just mainly try to keep all my code without using nwn.core, and if I do have to use nwn.core I go ahead and put in a request for it to be added and/or add it myself. This one is simple enough I'll probably go ahead and try and add it myself when I have time and do a pr.
Add NWNX_Player_UpdateCharacterSheet()
https://nwnxee.github.io/unified/group__player.html#gafb04b90a564b8dff198383b341e495a5