How to do effects to characters

I don't know how to do this.. I'm thinking you need Javascript anyone knows?

Like maybe some Dark Magic Sparkles on a character for they look more evil or light sparkles

or throwing a magic attack
Context? On maps, there's an event command called Show Animation which you can set origin points to. In battle, you can bind animations to States.

You may also want to use something like a Particle System.
Thx

Original thread: https://forums.rpgmakerweb.com/threads/how-to-do-effects-to-characters.79151/