RPG Maker Forums

Erosion System
Version 1.3
By Magnus0808 || Magnus Rubin Peterson

Introduction
This plugin was originally made because of the request by @Misappi to make an erosion system inspired by the erosion system used in Dofus.
Request thread: (https://forums.rpgmakerweb.com/index.php?threads/erosion-system-like-dofus.104267/)

Features
  • Lose of Max HP during battles from damage (Erosion Damage)
  • Posibility to regen of HP so you keep the same % of HP compared to Max HP actors had at the end of a battle.
How to use
The plugin featues 7 plugin parameters:
  • Natural Erosion Rate
    • This is the base for how much erosion damage a target takes from damage
  • Max Erosion Rate
    • The maximum rate of erosion damage a target can take from damage
  • Min Erosion Rate
    • The minimum rate of erosion damage a target can take from damage
  • Negative HP Regen Erosion
    • Enables the posibility to take erosion damage from negative HP regeneration
  • Can Die From Erosion
    • Enables the posibility of dying from Erosion
  • Stable Health Procent
    • Enable regen of HP so you keep the same % of HP compared to Max HP actors had at the end of a battle.
  • Remove Erosion After Battle
    • If true then erosion will be removed after battles.
It is also posible to change the natural erosion rate for the individual actor or enemy with the note tag:
Code:
<baseErosion:NEW EROSION RATE>

E.g. <baseErosion:0.3>
Furthermore it is also posible to change the erosion rate depending on the equipment worn with the following note tag this note tag also works on Actor and Enemy:
Code:
<procentErosion:EROSION RATE CHANGE>

E.g. <procentErosion:0.1> // This will add 0.1 to the Erosion Rate
     <procentErosion:-0.1> // This will minus 0.1 from the Erosion Rate
You can also use the following note tag on equipment to add permanent erosion while the equipment is worn:
Code:
<flatErosion:PERMANENT EROSION>

E.g. <flatErosion:100> // This will add 100 permanent erosion while the equipment is worn.
You can also make a skill affect the erosion rate or deal direct erosion damage with the following note tags:
Code:
<procentErosion:EROSION RATE CHANGE>
<flatErosion:EROSION DAMAGE>

E.g. <flatErosion:100> // This will deal 100 erosion damage, decreasing the targets max hp with 100
It should also be noted that the direct erosion damage is not affected by the min or max erosion rate. Making it posible to deal more erosion damage than normal damage.

You can also change the erosion rate and the natural erosion rate of specific classe by adding the following note tags:
Code:
<procentErosion:EROSION RATE CHANGE>
<baseErosion:EROSION RATE>

E.g. <procentErosion:0.1> // This will add 0.1 til the erosion rate
      <baseErosion:0.4>     // This will set the natural erosion rate to 40%
The <baseErosion:x.xxx> tag of the Class have priority over the <baseErosion:x.xxx> of the Actor. This means if both have the tag then only one on the Class will be used.

Plugin Commands
The following plugin commands are available:
  • RemoveErosion PARTY_INDEX AMOUNT
  • RemoveErosion all AMOUNT
  • RemoveErosion all (This is the same as when you normally end a battle)
  • ApplyErosion PARTY_INDEX AMOUNT
  • ApplyErosion all AMOUNT
The PARTY_INDEX represent the position the actor have in the party.
The AMOUNT represent how much erosion you want to remove/apply. However for
RemoveErosion you can leave it blank and it will remove all erosion!

Download
You can download this plugin from my GitHub:
https://github.com/magnusrp0808/plugins/blob/master/MRP_ErosionSystem.js

Terms of use
TERMS OF USE Copyright (c) 2019 Magnus0808 || Magnus Rubin Peterson || Magnusrp0808
  • You are free to use it in commercial or non commercial RPG Maker MV projects if you credit me unless other is stated.
  • Please do not change the header of the plugin
    • Other than that you are allowed to make edits to the plugin
  • You are NOT allowed to sell the plugin itself even if you edited it.
Change log
Version 1.3:

+ Added a parameter for if erosion should be removed after battle.
+ Added a couple of plugin commands.​
Version 1.2.2:
+ Bug fix (Healing should now no longer remove erosion)​
Version 1.2.1:
+ Compatibility Fixes (Hopefully removed most potentional compatibility issues)​
Version 1.2:
+ Made the <flatErosion:xxx> notetag work for Equipment. It adds permanent erosion while the equipment is worn.
+ Made the <baseErosion::x.xxx> and <procentErosion:x.xxx> work for Classes. Classes has priority over Actors this means that if an Actor and its Class both have the <baseErosion:x.xxx> tag the then the one of the Class will take effect and not the one of the Actor.​
Version 1.1:
+ Made a parameter for if you regen health after battle.​
Version 1.0:
+ First Release​

Author Notes

If you have any questions regarding this plugin then feel free to throw me a message.

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,469
Members
137,821
Latest member
Capterson
Top