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.

Spell Absorbtion. While holding the staff, you have advantage on saving throws against spells. In addition, 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.

When you attune to the staff you know how many charges it currently possesses.

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. Undead created by the staff in this way remain under control of the staff and whoever is attuned to it. However, staff can only maintain control over 900 hit dice worth of undead.

A newly found staff has 1d10 levels of spell energy stored in it already.

The one found in the adventure possessed 8 charges.

Staff of the Necrophidius

Lost Tombs shinjox