Thanks, everyone. You always get help here. Yeah, I used the wrong prefix, I didn't know what they mean and just copied the AP one from another ability
which probably was a passive one. I've changed to GA and it works.
Thanks for your reply. I know the SpellRes, ForceSpellRes and so on approach, but it doesn't work. It works when I use custom spells added by mods. But let's just say I copy "SPWI112" (Magic Missile) from the original game resources.
I rename it to "xxx.spl" for example, that is where my problem is. I don't want to rely on spells that get introduced by mods, I want to create some random spl.file and get it work. So far it doesn't.
I remember reading something about an ADD_Spell command in Weidu? Could that help with my problem? I don't know so please tell me what to do
Kyros
EDIT: Nevermind, I managed to get it to work with ForceSpellRes. I can't believe that in all these years I thought this would not work probably because I once tried this in an erroneous script.