Page 1 of 1

Restore one spell slot of specific level

PostPosted: Sun Nov 26, 2023 5:12 pm
by kai
Hi ,I'm trying to create and item or ability that would restore one slot of a specific level in exchange of the caster HP or max HP (For a duration)
The Idea would that casters can sacrifice his health to restore a spell slot. so restoring level 1 slot would cost lets say 3 HP , and level 3 would cost 9 (example)

my question , is there a script function that allows restoring one slot of specific level ?

Re: Restore one spell slot of specific level

PostPosted: Thu Nov 30, 2023 6:19 pm
by BlueSalamander
Hello kai 8-)

Thank you for posting! That's a good idea. At the moment we have this command:

"Expend spell slots" "Let ~ expend ~ spell slots of level ~ [For party members only]"
CHARACTERNAME
INT 0 100
INT 1 9

So, perhaps all we need to add is the possibility of negative values. Expending "-1" slot will let the character regain 1 slot.

I'm taking a note, should be doable for version 1.67. Best regards :)

Re: Restore one spell slot of specific level

PostPosted: Thu Nov 30, 2023 6:27 pm
by kai
Much appreciated ! . can this be done for PSP points as well (restore specific amount of PSP) ?

Re: Restore one spell slot of specific level

PostPosted: Fri Dec 01, 2023 8:46 am
by BlueSalamander
Yes, good idea. We'll do the same with the "Expend power points" command. Cheers 8-)