An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

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

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.