Paralyze (MV Plugin Tips & Tricks)

From Wiki
Revision as of 15:41, 8 July 2019 by Yanfly (talk | contribs) (Created page with "{{Yanfly Tips & Tricks MV |preview = <youtube></youtube> |desc = In Pokémon, paralysis is a common status effect. However, unlike...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from, Æ,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.

In Pokémon, paralysis is a common status effect. However, unlike what paralysis does in RPG Maker MV, the Pokémon version gives the battler an attempt to complete an attack with a 25% chance of failing. Here’s how you can recreate such an effect in RPG Maker MV!

Required Plugins

The 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.


This 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 Plugins

This 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.


Follow video instructions.

Place this inside of your Paralyze status effect’s notebox. Change the values to fit your game.

// Disables instant skills from paralyze as to not abuse the mechanic.
<Cancel Instant Skill: 1 to 2000>
<Cancel Instant Item: 1 to 2000>

<Custom Action Start Effect>
// Set the paralyze success rate.
var paralyzeRate = 0.25;
// Make a random number check to see if paralyze passes...
if (Math.random() < paralyzeRate) {
  // If it does, play the paralyze animation on the target.
  // Check for the user's current action...
  if (user.currentAction()) {
    // And make the user consume its resources.
  // Clear the user's actions making the user lose the actions.
  // Get the log window from battle.
  var logWindow = SceneManager._scene._logWindow;
  // Check if the paralyze state has text in message 3
  if (state.message3) {
    // If it does, create a message based on it.
    var msg = '<CENTER>' + + state.message3;
    // Add the text to the log window to display in battle.
  // Make the battle wait for the paralysis animation to finish playing.
  // Clear the log window.
</Custom Action Start Effect>

Happy shocking!