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.
Thievery is a skill used by Zidane, the protagonist of Final Fantasy 9. Thievery deals damage based on Zidane’s agility and the number of times Zidane has successfully stolen something from his enemies. Now, you can recreate an effect like this for RPG Maker MV, too!
Get the copy/paste version of the code here:
Place this inside of your Steal Skills:
// Steal & Snatch <Steal> <Custom Steal Success Effect> // Create the count for the successful steals made. user._successfulSteals = user._successfulSteals || 0; // Increase the successful steals count. user._successfulSteals += 1; </Custom Steal Success Effect> // Action Sequences // Sets up the action. <Setup action> display action immortal: targets, true </Setup action> // Moves user in front of the target. <Whole Action> move user: targets, front, 20 </Whole Action> // The user attempts to grab and jumps back immediately. <Target action> motion standby: user wait for movement face user: target action animation: target move user: targets, base, 10 motion thrust: user, no weapon wait: 15 action effect jump user: 50, 10 move user: targets, front, 10 face user: forward </Target action>
Place this inside of the Thievery skill:
// Damage Core <Damage Formula> // Get the number of successful steals from user. var steals = user._successfulSteals || 0; // Calculate the damage dealt. value = (steals * user.agi) / 2; </Damage Formula> // Action Sequence // Makes the user vanish. <Whole Action> opacity user: 0%, 20 wait for opacity </Whole Action> // User reappears behind the enemy, backstabs, and vanishes again. <Target Action> move user: target, back, 1 wait for movement face user: target opacity user: 100%, 20 wait for opacity motion attack: user wait: 6 attack animation: target, mirror wait for animation opacity user: 0%, 20 action effect action animation: target wait for opacity wait for animation </Target Action> // User vanishes and returns back to home location. <Follow Action> move user: return, 1 wait for movement opacity user: 100%, 20 wait for opacity </Follow Action>
Happy stealing!
Please wait while you are redirected...or Click Here if you do not want to wait.