How to give actor variables from the spawning component

I am trying to figure out your current setup.

You have a Spellbook component which is a BP?

You then have a struct that stores the spells default variables?

Sorry I am having a hard time