Difference between revisions of "Thievery (MV Plugin Tips & Tricks)"
(Created page with "{{Yanfly Tips & Tricks MV |preview = <youtube>https://www.youtube.com/watch?v=ZvGz7_7CoMk</youtube> |desc = Text |required = * Battle Engine Core (YEP)|Battle Engine Cor...") |
(No difference)
|
Latest revision as of 15:02, 8 July 2019
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
Text Required PluginsThe following plugin(s) is required to create this Tips & Tricks effect:
For help on how to install plugins, click here. For help on how to update plugins, click here. AboutThis is a Tips & Tricks effect created for RPG Maker MV. Tips & Tricks are not to be confused with plugins. Instead, they are usually customized code created for the sake of producing unique features/effects that do not require an entire plugin to do. Yanfly Engine PluginsThis Tips & Tricks effect is made possible due to the Yanfly Engine Plugins library. Click here if you want to help support Team Yanfly on Patreon. Warning for RPG Maker MZ UsersIf you are using RPG Maker MZ and VisuStella MZ, the following code may or MAY NOT work as this Tips & Tricks is made for RPG Maker MV. VisuStella MZ is NOT responsible if this Tips & Trick does not work because the code base for RPG Maker MV and RPG Maker MZ are different and the code base between Yanfly Engine Plugins and VisuStella MZ is even more drastically different. InstructionsFollow video instructions. Get the copy/paste version of the code here:
// 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>
// 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! |