Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.
Greed is a rather interesting status effect. When a party member, afflicted with Greed, tries to use an item on another party member, the target will end up being the user instead. This tips & tricks video will show you how to make this effect in RPG Maker MV!
You can grab the copy/paste code here:
Insert the following code into your Greed state.
<Custom Action Start Effect> // Get current action. var action = user.currentAction(); // Check if the current action is an item for an ally. if (action && action.isItem() && action.isForFriend()) { // Get the index of the user. var index = user.index(); // Set the target to the user. action.setTarget(index); } </Custom Action Start Effect>
Enjoy!
Please wait while you are redirected...or Click Here if you do not want to wait.