Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Element Average - ElementAverage.js
Plugin desc : Attribute average calculation Ver1.3.6 (2022/9/10)
License : MIT License
Author : PotatoDragon
Website : https://github.com/pota-gon/RPGMakerMZ/wiki
Desc page : https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Battle/ElementAverage.js
Download Page : https://raw.githubusercontent.com/munokura/PotatoDragon-MZ-plugins/main/ElementAverage.js
File name : ElementAverage.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Battle/ElementAverage.js @plugindesc Attribute average calculation Ver1.3.6 (2022/9/10) @author PotatoDragon @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/PotatoDragon-MZ-plugins ). Original plugin by PotatoDragon. Please check the latest official version at: https://github.com/pota-gon/RPGMakerMZ/wiki ----- ## Overview Calculates elemental effectiveness based on the average value, rather than the maximum value. Equipment with elemental effects, such as the Flame Sword, will reduce damage. ## How to Use No initial setup required. Just install the plugin and it will work. ### Example: Attacking a Salamander with a Flame Sword #### Settings - Flame Sword (Weapon) Attack Element: Physical Attack Element: Fire - Salamander (Enemy Character) Elemental Effectiveness: Fire * 0% * If elemental effectiveness is not set, it will be 100%, so in this case, the physical elemental effectiveness will be 100%. #### Before Installation (Calculated with Maximum Value) The elemental effectiveness is determined by the highest % of all elements. [Physical (100%), Fire (0%)] => Elemental Effectiveness: 100% (No change in elemental damage). #### After Installation (Calculated with Average Value) The average of all elements is determined as elemental effectiveness. [Physical (100%), Fire (0%)] => Elemental Effectiveness: 100% (No change in elemental damage). #### After Installation (Calculated with Average Value) The average of all elements is determined as elemental effectiveness. [Physical (100%), [Fire (0%)] => Elemental Efficacy: 50% (Elemental damage is halved) ## Parameters ### Calculate using minimum value (Min) #### Calculate using minimum value (true) The lowest % of all elements is the elemental efficacy. [Physical (100%), Fire (0%)] => Elemental Efficacy: 0% (0 damage) @param Min @text Calculated using the minimum value @desc This option calculates the minimum value. @type boolean @on Calculated using the minimum value @off Calculated as the average @default false