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 ?