Item that will use in battle a skill

Hello, is it possible to create an item that once used in battle it calls a skill without consuming MP or TP?
Most of what you could set in "skills" can also be set in "items". You could edit the parameters of the item to mimic the desired skill, and set it to "Battle Screen".
Yep but it's connected to a plugin, so the only thing should be to call that skill ('cause it can't be mimed)... is it any plugin avaiable that can do that?
I'm not aware of such a plug-in, sorry.
I'm not aware of such a plug-in, sorry.
Np 🙂
The easiest way I can think to do this would be to have the item do nothing except keep it's scope to the same scope you want the skill to be and call a common event. Have that common event use the force action command to use the skill you want with the scope of "last Target" so it will target the enemy you just selected with the item and then have a restore mp event equal to the cost of said skill for the actor.

The only problem there is determining which actor to use force action on though. I thought it would be as simple as using a.addState() in the formula box with a dummy state and checking which actor has said state in the common event, but using that in the formula box for an item doesn't appear to do anything so I'm not sure how you'd handle that exactly. Seems odd though that the formula boxes for items and skills don't accept the same commands, but I'm not big enough into programing that I could tell you the whys or provide workarounds for it so I'm afraid that's the best I can do here.

Original thread: https://forums.rpgmakerweb.com/threads/item-that-will-use-in-battle-a-skill.83268/