How can I use an AimOffsetBlendSpace1D only when the player has fired a spell?

I am having trouble with using an NewAimOffsetBlendSpace1D, all the tutorials I see are only for the gun animation, I have a magic spell attack animation and it only fires when the player shoots.

I tried following this:

But that doesn’t work for me.

Here is how my Locomotion looks:

I don’t know how to do this properly though as I can’t find a source on how to do this.

The second problem I have is how can I blend the attack animation with the movement animation?

I can’t use a montage due to it being an aim offset, so how can I do this?