YEP.107 – Element Core – RPG Maker MV

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.

You can grab the plugin here:
English Dropbox
English Mirror

Elemental control in RPG Maker MV is pretty lacking. The calculation of how multiple elements are handled aren’t very clear nor are they too intuitive when it comes to certain aspects. This plugin also gives way to skills and items having more than one element, battlers being able to absorb, reflect, amplify elemental damage, and more!

NOTE: If you are using the Element Reflect and/or Element Absorb plugins, remove them if you are planning on using this plugin. Don’t worry. This plugin uses the same exact notetag format as those two.


Introduction


Elemental control in RPG Maker MV is pretty lacking. The calculation of how multiple elements are handled aren’t very clear nor are they too intuitive when it comes to certain aspects. This plugin also gives way to skills and items having more than one element, battlers being able to absorb, reflect, amplify elemental damage, and more!

* Note: If you are using the Battle Engine Core, place this plugin under the Battle Engine Core in the plugin list for additional features.

* Note: If you are using the Damage Core, place this plugin underneath the Damage Core plugin in the list for maximum compatibility.


Notetags


Use these notetags if you wish to modify various aspects of elements for your database objects.

Skill and Item Notetags

<Bypass Element Reflect>
– Allows this skill/item to ignore elemental reflect properties. This will not bypass reflect properties as a whole, however.

<Multiple Elements: x>
<Multiple Elements: x to y>
<Multiple Elements: x, x, x>
<Multiple Elements: name, name, name>
– This adds elements x (or name) to the skill/item in addition to the skill/item’s current element. Skills and items with multiple elements will follow the Multi-Element Rule when calculating damage rate. Insert more of this notetag to insert more elements.

<Multi-Element Rule: Lowest>
<Multi-Element Rule: Add>
<Multi-Element Rule: Multiply>
<Multi-Element Rule: Highest>
<Multi-Element Rule: Average>
– This allows you to set the rule for this skill/item if it has multiple elements. Either the lowest rate, the additive sum of all rates, the multiplicative product of all rates, or the highest rate will be used. If average is used, it will be the average of all element rates.

Actor, Class, Enemy, Weapon, Armor, and State Notetags:

<Element Absorb: x>
<Element Absorb: x, x, x>
<Element Absorb: name>
<Element Absorb: name, name, name>
– Causes element x to be absorbed and heals the battler. When an element is absorbed, the rate goes down by 200% instead of being just an inverse. This is so that battlers that are originally resistant to the element will absorb more of the element while battlers that are originally vulnerable to the element will absorb less of the element. The minimum amount
absorbed is 0.01%.

<Element Reflect x: +y%>
<Element Reflect x: -y%>
<Element Reflect name: +y%>
<Element Reflect name: -y%>
– Increases or decreases the rate to reflect element x by y%. If a skill or item has multiple elements, the reflect rate is added for each element used by the skill/item.

<Element Amplify x: +y%>
<Element Amplify x: -y%>
<Element Amplify name: +y%>
<Element Amplify name: -y%>
– If the user performs a skill or item that utilizes element x (or name), increase or decrease its damage by y%. If a skill or item has multiple elements, the rate is increased additively for each element.

<Element Null>
– This will cause the battler to not have elemental attacks when using skills and items. However, this will not bypass the ‘Force Element’ action sequence effect.

<Force Element x Rate: y%>
<Force Element name Rate: y%>
– This forces the battler’s elemental rate for x (or named) to be y%. This will work in a priority setting of states (highest priority to lowest), equips (first to last), then class, then actor/enemy if more than one notetag is used for the same element. If y is negative, the element is absorbed.


Yanfly Engine Plugins – Battle Engine Extension – Action Sequence Commands


If you have YEP_BattleEngineCore.js installed with this plugin located underneath it in the Plugin Manager, you can make use of these extra
damage related action sequences.


ADD ELEMENT: X
ADD ELEMENT: X, X, X
ADD ELEMENT: NAME
ADD ELEMENT: NAME, NAME, NAME
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
This will add more elements to the currently existing elements. This will not include forced elements.
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Usage Example: add element: 4
add element: 5, 6, 7
add element: fire
add element: ice, wind, water


CLEAR ELEMENT

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
This will clear any ___ Element action sequence settings and revert element calculation back to normal.
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Usage Example: clear element


FORCE ELEMENT: X

FORCE ELEMENT: X, X, X
FORCE ELEMENT: NAME
FORCE ELEMENT: NAME, NAME, NAME
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
This will override elemental settings for elemental damage rate calculations except for customized calculations that aim at specific elements. This will ignore all other elements.
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Usage Example: force element: 4
force element: 5, 6, 7
force element: fire
force element: ice, wind, water


NULL ELEMENT

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
This will force the elements to null. Calculated elemental damage will always return neutral rate. Using this will clear the Force Element action sequence effect.
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Usage Example: null element


Happy RPG Making!


Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks, Plugins, and Lunatic Pack ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!