Here is a little mod I made on a lark with new trick I learned. Ever switch to a missile weapon while wielding a Mage Dagger or Sanctified War Hammer, and get that sinking feeling because you just lost your extra spell slots? This should fix that. Now, you have a 30-second grace period after unequipping the weapon, before your spell slots disappear.
https://github.com/UnearthedArcana/spell_weapons/releases
As a technical matter what actually happens is, the game checks every 30 seconds after you equip the weapon, to see if you still have it equipped. If you do not, it starts a secondary timer and checks again 30 seconds later. If you still don't have the weapon equipped at this secondary check, your bonus spell slots disappear. So you actually have between 30 and 60 seconds from the moment you unequip the weapon. But at least 30.
Cheers.
https://github.com/UnearthedArcana/spell_weapons/releases
As a technical matter what actually happens is, the game checks every 30 seconds after you equip the weapon, to see if you still have it equipped. If you do not, it starts a secondary timer and checks again 30 seconds later. If you still don't have the weapon equipped at this secondary check, your bonus spell slots disappear. So you actually have between 30 and 60 seconds from the moment you unequip the weapon. But at least 30.
Cheers.










