Oh it only works for spells with the "Target" spelltype, that's why it hasn't been working when i've tested it in the past.