Staff of the Necrophidius
Staff, legendary, requires attunement
This black wooden staff is toped with a skull (the skull of a necrophidius, a type of golem). A staff of the necrophidius can be used as a spell focus for arcane spellcasters or divine spellcasters that worship a god of death or similar aspect.
This staff can be wielded as a magic quarterstaff.
The staff can have up to 25 charges. Nothing special happens if the last charge is spent.
When you attune to the staff you know how many charges it currently possesses. A newly found staff has 1d10 levels of spell energy stored in it already.
*Necrotic*_When you hit with a melee attack using it, you can expend up to 3 of its charges. For each charge you expend, the target takes an extra 1d6 necrotic damage.
_*Magic Resistance.* While holding the staff, you have advantage on saving throws against spells.
Spell Absorbtiopn. You can use your reaction when another creature casts a spell that targets only you. If you do, the staff absorbs the magic of the spell, canceling its effect and gaining a number of charges equal to the absorbed spell’s level. However, if doing so brings the staff’s total number of charges above 25 it cannot absorb the spell and nothing happens.
Spell Energy. While holding the staff, you can convert charges into spell energy as you cast a spell. You spend a number of charges equal to the spell slot you wish to cast. You can create spell slots only of a level equal to or lower than your own spell slots, to a maximum of 5th level.
Create Undead. While holding the staff, you can expend 2 of its charges to cast animate dead (as if cast with a 6th level slot) or create undead . For each charge spent over the first, the spell slot used to cast either spell increases by 1.
Control Undead. Undead created by the staff remain under control of the staff and its attuned wielder. However, the staff can maintain control over a total of 1000 HD worth of undead. The wielder can release control of any number of undead by taking an action.
The wielder of the staff can attempt to control any number of undead within 60 feet she chooses, within the maximum HD limit. Non-intelligent undead are automatically controlled, but intelligent undead receive a Charisma saving, using your saving throw. Control is permanent, or until released.