A downloadable tool

Introduction

This plugin allows both actors and enemies to deal different damage (may be lower or higher) with one or more elements. Classes, states, weapons and/or armors can change their default values. The way Element Affinity stacks with multiple sources may be changed, as well as elemental damage calculations. No longer supported by the author.

Version -> 1.01

This plugin was tested only on RPG Maker MV Version 1.6.2. I cannot guarantee it works on lower versions.

Terms of Use:

  • Available for commercial and non-commercial use
  • You may freely edit the code
  • You are not allowed to redistribute this plugin. Instead, provide a link(https://vcm-plugins.itch.io/vcm-elementaffinity)
  • Do not claim this plugin as your own
  • Credit is not required. However, if you want to, credit me as 'VCM Plugins'




Parameters Explanation

Element Affinity Calculation

This parameter specifies how Element Affinity stacks with multiple sources. Options include Higher Value, Average, Add and Multiply. For example, if an Actor's Element Affinity with 'Physical' is 1.5 and its class, 2:

Higher Value = 2;
Average = 1.75;
Add = 2.5 (1 is the default value so 1 is deducted from each extra source);
Multiply = 3;

Elemental Damage Calculation

This parameter specifies how elemental damage is calculated in-game. Options include Average, Add and Multiply. For example, if an Actor's Element Affinity with 'Physical' is 2 and its target's Element Rate for 'Physical', 0.5:

Average = 1.25;
Add = 1.5 (1 is the default value so 1 is deducted);
Multiply = 1;

Actor Element Affinity

This parameter determines the Element Affinity of an actor. The first list must be set for each actor, in the same order of Actors Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1. The actor's class, weapons, armors and/or states will also influence the actor's Element Affinity.

Class Element Affinity

This parameter determines the Element Affinity of a class. The first list must be set for each class, in the same order of Classes Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1.

Weapon Element Affinity

This parameter determines the Element Affinity of a weapon. The first list must be set for each weapon, in the same order of Weapons Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1.

Armor Element Affinity

This parameter determines the Element Affinity of an armor. The first list must be set for each armor, in the same order of Armors Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1.

State Element Affinity

This parameter determines the Element Affinity of a state. The first list must be set for each state, in the same order of States Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1.

Enemy Element Affinity

This parameter determines the Element Affinity of a enemy. The first list must be set for each enemy, in the same order of Enemies Database. The second must be set for each element, in the same order of Elements Tab in Types Database. Non-number values may cause errors. Values not set will be defaulted to 1. The enemy's states will also influence the enemy's Element Affinity.



Compatibility

Plugin Manager line-up for maximum compatibility:
VCM_HelpWindow
VCM_PreviousTurn
VCM_BattleSave
VCM_Quicksave
VCM_MovementSpeeds
VCM_StateDescription
VCM_TermDescription
VCM_BattleMainMenu
VCM_EventHighlighting
VCM_SkillBar
VCM_MirroredSpriteset
VCM_ActionPoints
VCM_ActionOrder
VCM_EnemyGauges
VCM_MultipleGauges
VCM_ElementAffinity
VCM_AutoBattle
VCM_EnemyInfo
VCM_NumberBattlers
VCM_NoBattleLog



Versions

Version -> 1.00

Released Plugin.

Version -> 1.01

Updated documentation.

Download

Download
VCM_ElementAffinity.js 21 kB