The "Mimic" variable

Hi all,

I am making a mimic skill. I plan on assigning a special variable to make this work, and every other skill sets the variable to a specific number (probably the skill ID.) Is there a simple way to achieve this, like a tag in each skill note? I saw something like this:

$gameVariables.setValue(x, value)

I replaced x with the variable ID, and the value with a skill ID. It didn't work. I read this script call is meant for the damage formula field, but I was wondering if there was something similar that can be placed in the notes section. Thanks for your help!
Sorry, the notes section doesn't actually execute code; you need a plugin to read the notetags and interpret them to do that.

If you're interested in using a plugin to get your desired effect, then Yanfly's Skill Core will let you use any of the notetags under "Lunatic Mode – The Skill Phases" to place your setValue function.
@Llareian Thank you so much! That did the trick. I placed that same code inside <After Eval> tags and it works like a charm.
Hi all,

I am making a mimic skill. I plan on assigning a special variable to make this work, and every other skill sets the variable to a specific number (probably the skill ID.) Is there a simple way to achieve this, like a tag in each skill note? I saw something like this:

$gameVariables.setValue(x, value)

I replaced x with the variable ID, and the value with a skill ID. It didn't work. I read this script call is meant for the damage formula field, but I was wondering if there was something similar that can be placed in the notes section. Thanks for your help!
i'd like to see that
i want mimic too
please 🙏

Original thread: https://forums.rpgmakerweb.com/threads/the-mimic-variable.87208/