Animate Weapon

2nd-level transmutation

Casting Time: 1 bonus action

1 bonus action Range: 60 feet

60 feet Components: V S M (A feather)

V S M (A feather) Duration: 1 minute

You imbue a weapon within range with magical energy, causing it to float. This effect lasts for the duration or until you cast this spell again. When you cast the spell, you can have the weapon strike at a creature within 5 feet. If you choose to do this, you must make a melee spell attack against that creature. On a hit, the target takes damage equal to 1d8 + your Spellcasting Ability modifier regardless of what type of weapon the weapon is or any other damaging effects the weapon has. The damage type is dependent upon the weapon.

As a bonus action on your turn, you can move the weapon up to 20 feet and repeat the attack against a creature within 5 feet of it.

The weapon has an AC of 10 + your spellcasting ability modifier, Hit Points equal to 8 + your spellcasting ability modifier, and its size is Small. It is immune to Poison and Psychic damage along with the Blinded, Charmed, Deafened, Frightened, Paralyzed, Petrified, and Poisoned conditions. It adds your proficiency bonus and spellcasting ability modifier to any saving throws it must make. If the weapon drops to 0 Hit Points, the spell ends and the weapon is Damaged. While the weapon is Damaged, it is unusable. Repairing the weapon at a blacksmith for example or by casting Mending on it removes the Damaged status.

Creatures can move through the same space as the weapon. A creature can attempt to Grapple the weapon as a bonus action. In order to Grapple the weapon, a creature must make an Athletics check against your spell save DC. You may allow a creature to automatically pass this check. A Grappled weapon may not attack or move and it can be used as a regular weapon. If a creature does Grapple the weapon, you may use an action to attempt to free the weapon causing the creature to make the Athletics check again. On a failure, the weapon is free of the Grapple.

At Higher Levels: When you cast this spell using a spell slot of 3rd level or higher, the damage of the attack increases by 1d8 and its Hit Points increase by 6 for every two slot levels above the 2nd.

Credit: WOTC