Need help with some Final Fantasy style game mechanics

I am working on a game heavily influenced by my favorite RPG series, Final Fantasy.  I would like to impliment some FF style game mechanics.  Heres a list:


1. Allow a weapon to be also used as an item, and when used, cast a skill, eg, have a "Heal Rod" that casts Cure when used as an item.


2. There is a weapon that has a neat mechanic in one of the FFs (cant remember which one now).  When the weapon is used to attack, it damages the user for x HP.


3.  Another fun mechanic I would like to implement is a weapon that always gives crit hits, but costs x MP per attack.  If you have less than x MP, the attack is normal.


4.  And finally, of course, the Ultima Weapon.  This weapon's ATK is based on the current HP of the user.  The formula is different depending on which FFs version of the Ultima Weapon you are talking about.  The most basic was in FF Anniversary Edition for the PSP, it was simply (CurrentHP/10).


Any thoughts on how to create these four mechanics in RMMV?  I'm not above using plugins, as a matter of fact I am already using the Yanfly Engine as well as a couple of SRD's, Hime's, and BOB's.  Thanks!!!!
I know Mr Trivel has a use equipment skill plugin


yanfly has plugins that can do most of the rest
3.  Another fun mechanic I would like to implement is a weapon that always gives crit hits, but costs x MP per attack.  If you have less than x MP, the attack is


normal.




Add the following notetags on the weapon:

Code:
<custom critical rate>
 result = a.mp < 20 ? 0 : 1000;
</custom critical rate>

<custom critical code>
 a.gainMp(-20);
</custom critical code>

You can replace the 20 with the ammount of MP you want to be spent. (I added 1000% for the critical rate to ensure critical even if there are effects reducing the critical rate.






2. There is a weapon that has a neat mechanic in one of the FFs (cant remember which one now).  When the weapon is used to attack, it damages the user for x HP.
4.  And finally, of course, the Ultima Weapon.  This weapon's ATK is based on the current HP of the user.  The formula is different depending on which FFs version of the Ultima Weapon you are talking about.  The most basic was in FF Anniversary Edition for the PSP, it was simply (CurrentHP/10).

Both can be done using a plugin to replace the basic attack skill and changing the damage formula:
First off, Victor Sant, my Shrine to the RMMV Gods now has your name right next to Yanfly's  🙂 .  Those two plugins are exactly what I needed to solve 2, 3, and 4.  Thank you very much!


Second.  Silenity, thank you for letting me know about Mr. Trivel's Use Weapon and Armor in Battle plugin.  It is VERY close to what I wanted.  I would like it so the player can use their equipped item in battle, ala FF1 or Lufia, but this will work great for now.  Thanks!!!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-some-final-fantasy-style-game-mechanics.64706/