Making a "Check" skill like in "OFF"?

images.png

I've tried using

<Pre-Damage Eval>
$gameVariables.setValue(142, target.enemyId());
</Pre-Damage Eval>

on both the weapon and the skill and then running a common event checking every ID in the 142 variable but it didn't work, any help?
View attachment 271617
I've tried using

<Pre-Damage Eval>
$gameVariables.setValue(142, target.enemyId());
</Pre-Damage Eval>

on both the weapon and the skill and then running a common event checking every ID in the 142 variable but it didn't work, any help?
How are you running the common event? You need to show us what you've tried before we can help you figure out what you need.
How are you running the common event? You need to show us what you've tried before we can help you figure out what you need.
check1.PNG
check2.PNG
And when you say "It didn't work" what is it not doing that it should, or doing that it shouldn't?
And when you say "It didn't work" what is it not doing that it should, or doing that it shouldn't?
The variable didn't change at all
The variable didn't change at all
It appears you're trying to do a Libra-like skill, so this T&T might help: http://www.yanfly.moe/wiki/Libra_(MV_Plugin_Tips_&_Tricks)

Do you definitely have Skill Core in the right location in your plugin manager and turned on?
It's because you're using a Pre-Damage Eval tag, but you're not actually doing any damage with the skill.

Pre-Damage and Post-Damage are encapsulated within the executeDamage() method - they only get evaluated if you do damage.

You can use Before Eval instead.
It appears you're trying to do a Libra-like skill, so this T&T might help: http://www.yanfly.moe/wiki/Libra_(MV_Plugin_Tips_&_Tricks)

Do you definitely have Skill Core in the right location in your plugin manager and turned on?
It worked! Ty!!
It's because you're using a Pre-Damage Eval tag, but you're not actually doing any damage with the skill.

Pre-Damage and Post-Damage are encapsulated within the executeDamage() method - they only get evaluated if you do damage.

You can use Before Eval instead.
oops meant this one, Ty!!

Original thread: https://forums.rpgmakerweb.com/threads/making-a-check-skill-like-in-off.159881/