〚Solved〛Blue Magic - Learn enemy spell (without being targeted by it)

Hello,

I wish to create a blue mage class for my game. For those who don't know what blue magic is, it's a magic used by an enemy, which a blue mage can learn.

I found several scripts to achieve that (Fomar, Victor Sant and Yanfly created scripts in various RPG Maker versions for it).

However, it includes that the monster uses the ability on the blue mage : which means no positive ability can be learned by the blue mage.
I'd like my blue mage to have supporting abilities, that's why I'd like to find a way for him to learn Blue Magic with a specific command (and not just as a reaction to a use).

In Final Fantasy IX for instance, there is a character that can use the command "Eat" on a low HP enemy to learn its ability. If I don't specifically want to mimic the "Eat" command, i'd like a command ("Learn") to be able to learn the ability, without being struck by it.

What would be the best way to achieve it ? Common events in battle troops ?

Thanks for your help 🙂
Hello!

Try this:

Good luck
Another way would be to use Yanfly's Steal Skill script.
Thank you so much guys <3

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-blue-magic-learn-enemy-spell-without-being-targeted-by-it.138686/