Now to the spell casting rogue!
Advanced Arcana Attack
prerequisite: arcane tricker roguish archetype
Let’s make this magic hurt! When you make an attack that deal sneak attack damage, you can choose to reduce the number of sneak attack dice dealt. For each die you do to use in the attack, you can cast a spell of up to the level as part of the attack. You may not use this with cantrips.