View previous topic :: View next topic |
Author |
Message |
max196
Joined: 26 Jun 2008 Posts: 30
|
Posted: Sat Dec 13, 2008 14:43 Post subject: how to restore spell slots? |
|
|
As you know when a druid-shifter shift we lost all the memorized spell slots gained from extra spell slots items..
I'm trying to use the new nwnx funcs functions to restore the lost spells slots but im having some problems.
What is the right way to do it?
Thanks,
Max |
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sat Dec 13, 2008 23:09 Post subject: |
|
|
You need to use GetMemorizedSpellSlot() to get the contents of the spell slots and record those, then use SetMemorizedSpellSlot() later to restore them.
Acaos |
|
Back to top |
|
|
max196
Joined: 26 Jun 2008 Posts: 30
|
Posted: Sun Dec 14, 2008 0:52 Post subject: |
|
|
thanks, I guessed it was the functions to use.
What is the best way to manage it? |
|
Back to top |
|
|
|