single Item that casts different skills for different actors

hello all, Im a new user in this forum, and I need some help here, is there a way, or some plugin i need for me to make a 1 ally scope item, that you can only use in battle, and when used on a different specific actor, it casts a special skill from that actor's respective skill list, think of it as like the plantfood feature in plants vs zombies 2, what im looking for is like;

select the item
select it on actor A
Actor casts that special skill
and then repeat that for different actors

I know that Yanfly's cost skill manager kinda does that, but I have to do some workarounds since I need to buy the plugins (im poor lol), if theres a version of that in VX Ace, surely theres already a way for it in MV, right?

thanks in advance
I'm not familiar with the "cost skill manager," but I assume you mean Yanfly's Skill Core, which is free. I'd be leery of doing it that way, I've seen other people try it via notetags that use Force Action and have a hard time.

I would suggest Yanfly's Action Sequences, which are also free. You can program your entire skill, and include random numbers and conditionals inside of it to have it emulate different other skills.
you could do this comploetely without plugins by using a common event.
have the item call a common event and apply an invisible state to its target.
then have the common event check which actor has the state and handle the rest for that actor.

only problem would be that without plugins the common event would only be processed at the end of the battleturn.
this is exactly what im looking for! and yes i only want the item to last one turn! so thanks both of you.

you could do this comploetely without plugins by using a common event.
have the item call a common event and apply an invisible state to its target.
then have the common event check which actor has the state and handle the rest for that actor.

only problem would be that without plugins the common event would only be processed at the end of the battleturn.
okay so I did your advice, it worked! ..for a little bit..but then after that it stopped working, like that invisible state just stayed there, and did not forced the action, i want it to be like:
  • the state to be inflicted
  • then it does the skill
  • and then the state disappears
is there a workaround it?
is there a workaround it?
There's no way anyone could tell you what's wrong with your event if you don't show what you actually did.

If you post a screenshot, Andar might help you troubleshoot.
There's no way anyone could tell you what's wrong with your event if you don't show what you actually did.

If you post a screenshot, Andar might help you troubleshoot.

Spoiler: what i did for my event
Screenshot 2024-01-26 144317.pngScreenshot 2024-01-26 144308.png

heres what I did for my item common event, it works fine for the other party members, but when I use this item to "Legume", the actor forces their "special skill" twice instead of only one time.

EDIT: okay so i tried it again, "Legume" still does his special skill twice, and when I use it to "Peashooter", he has the status, but just dosent do anything

Spoiler: the skill the "legume" uses
1706251757751.png

Spoiler: the state that the item uses
1706253096184.png
when I use this item to "Legume", the actor forces their "special skill" twice instead of only one time.
I don't see anything here that would cause that.

when I use it to "Peashooter", he has the status, but just dosent do anything
You have his skill targeting the last targeted enemy - is that enemy still alive in the troop? Does he have the skill and the skill type to use it and all that?

Aside from that, I did warn you in my first reply that using Force Action was the riskiest approach and I've seen other people have a hard time trying to implement things that way.

So someone else will have to give you any better advice than that.
I'm not familiar with the "cost skill manager," but I assume you mean Yanfly's Skill Core, which is free.
i mean Yanfly's skill cost items, which costs money, theres a version of it in rpgmaker VXace thats free, but the MV version isnt, its why im looking for some free alternatives to it
Okay, it took me a few minutes but I guess I see what you're getting at?

Where you would give each actor their own skill that requires you to spend a Plant Food, but they all do something different.

I mean, interface-wise it's completely different from what you're asking, because you'd be using a skill, not an item.

You can really easily duplicate that using the free Yanfly's Skill Core and its notetags. You might not know the JavaScript personally, but it's, like, one line of code each to either look up in the script call list or ask us for help with.

If that's the way you want to go, using a skill instead of an item, that's simple.
i think i know what to do now, thank you, man!

Original thread: https://forums.rpgmakerweb.com/threads/single-item-that-casts-different-skills-for-different-actors.165111/