I've done the same thing with one caveat- you basically use a spell attack roll equal to 11+ spell level OR 10+ the ST bonus of the monster (if spell requires ST) or AC if it's an actual attack. If the spell succeeds, it goes through the ST, and goes off (which means no rolling for 12 goblin's saving throws for hypnotic pattern- if it goes through, it affects all of them). If it fails, pretend as if the ST succeeded, and for Nat20, you dont expend a spell slot or some cool effect, and for a nat 1, roll on shadowdark mishap table. It's super fun!