Hmm, tried changing it and what I found out is that the animation ends when the spell is cast (at cast point) and I want to instantly cast the spell while the animation continues playing.
Does it have something to do with model editor? Cause this animation was a stand animation by default, which I modified and set to "Spell" animation. (in the model editor this animation works properly)