How to put out burning status with a water attack?

● ARCHIVED · READ-ONLY
Started by MightyWario_MV 3 posts View original ↗
  1. I want to make my game realistic, therefore, I made a state called 'Burning' with Fire Element Rate and -15% HP Regen.
    I want to make it so that water attacks (any attack with water labeled as its element) will have 100% rate of disabling burning on an ally.
    This might be way too complicated. If there isn't a solution, please let me know.
  2. Are you using Yanfly's Buffs & States Core? If you are, i have a method for you.
    Put this note tag on your Burning state:
    Code:
    <Custom React Effect>
    // Get the water element ID. Change x to your Water Element's ID
      var water = x;
    // Check if water damage is dealt.
    if (this.item().damage.elementId === water) {
      // Remove the burning status effect from target. Change y to the ID of your burning state
      target.removeState(y);
    }
    </Custom React Effect>

    With this, when your burning target takes damage from a water elemental skill, the burning effect will be removed.
  3. To put out Burning with Water attacks, you can also simply add the feature "Remove Burning 100%" on every skill - this can be found in the Features Box for the skill. It requires you to make more changes than the solution above, but it doesn't require you to use any plugins.

    To make DoT effects to elemental damage, you'll need to use plugins. This is easiest to do with Tigress' Extended DoT plugin.

    While some things like "water attacks remove burning" are okay, I strongly caution you about aiming to make your battle system 'realistic'. RPG battles (which use magic, involve fighters waiting for their turn, and make no real use of space) are an abstraction, not a realistic depiction of combat, and players don't expect realism either. When realism gets in the way of fun - such as reducing your characters' stats every time they take damage because they are 'wounded' or forcing the player to feed their characters food every 20 minutes to avoid 'starving' to death - it makes the game strictly worse.