Create and Attach Custom Actor Component

Try :

RootComponent = SpellCaster;