Hammersmash

Available to Cleric, Druid, Magus, Paladin, Sorcerer, Warlock, Wizard

2nd-level conjuration Raising a hand above your head, a massive stone hammer appears behind you and arcs down at your target. Make a melee spell attack against a creature within range. On a hit, the creature takes 2d12 bludgeoning damage and must make a Strength saving throw. On a failure, the creature is restrained, as it is hammered into the ground. It can take an action to make a Strength check against your spell DC to free itself and end the condition.
 * Casting Time:  1 action
 * Range:  10 feet
 * Components:  V, S, M (a small granite cube)
 * Duration:  Instantaneous

At higher levels. When you cast this spell at 3rd level or higher, the damage increases by 1d12 for each spell slot above 2nd.