Have an Item perform different actions in battle when different actors use it?

As the title suggests, I'd like to have items perform different actions in a battle based on the actor who uses them.


Let's say the party has a Runestone that they can use in battle. If Marsha were to use it, it'd deal fire damage to one enemy (targeted, not random). If Lucius were to use it, it would grant an AOE heal to the ally party. Harold & Therese don't know enough about magic to benefit from the Runestone, so they wouldn't be able to use it at all. Or at the very least, they'd be able to hit enemies with it and deal minimal damage
 


How would I go about this? Is there any way to check which actor uses an item?


Also, should someone look at this and think "Why isn't this in the script request forum?":

Spoiler
This thread is not a script request. I'm merely asking how I would go about doing this. If scripting is inevitable but isn't something that would be completely over my head (or if it hasn't already been done before), I'd like to gain experience by scripting this myself. I'm just completely lost and don't know where to begin. Should I require someone else create a script, I will make a proper request in the request forum. Thank you.
You're gonna need to use scripts for that. I'd use Yanfly's Skill Core (which also applies to items, since those are skills) for lunatic mode tags, and check the user's character name. You can branch and execute different effects from there, but it's definitely all going to be in a lunatic mode.


You might be able to do a bit with... I think Himeworks had a plugin that let you set scripts as conditions for certain effects to be applied from the normal effects on top? You'd have to check and make sure it's an MV plugin, though.
@Doktor_Q I'm looking into Himeworks's plugins right now. If I can get her Scope Change Rules and Effect Conditions plugins to play nice with each other, I should be able to pull it off. I'll come back soon with my results.

Original thread: https://forums.rpgmakerweb.com/threads/have-an-item-perform-different-actions-in-battle-when-different-actors-use-it.72423/