Attack Element Modifiers

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,848
First Language
English



This script allows you to set up "attack element modifiers". Basically, you can


1. Set up skills with multiple attack elements


2. Specify the attack element rate for each element


By default, damage calculations are done by first calculating the skill's "base" damage, then applying the elemental modifiers. An elemental modifier is the product of "elemental damage rate" and "elemental resist rate".


For example, if your fire damage rate is 100% and the target's fire resist rate is 25%, then the actual fire damage is 75%. If your damage was 100% fire, then that means the actual damage you inflict is reduced by the target's resistance.


Suppose you have a skill that inflicts both fire and earth elemental damage, and you want to make it so that the damage is 70% fire and 30% earth. With this script, it properly calculates the total damage dealt, after all elemental resistances have been applied.


If an enemy has no fire resistance and has 50% earth resistance, then your final element multiplier is equal to 70% from fire + 15% from earth, for a total of 85% of the skill's base damage.


Get it at Hime Works!
 
Last edited by a moderator:

Jarrad

Broke College Student
Veteran
Joined
Mar 17, 2013
Messages
821
Reaction score
44
First Language
English
Primarily Uses
I was looking for a script like this, you never fail to please! Thanks.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,848
First Language
English
The script has been updated to support all feature objects: actors, classes, weapons, armors, states, and enemies.

When the skill/item's damage element type is "Normal", it will use the user's attack elements to calculate the elemental modifiers.

For example, suppose you have a sword that deals 50% fire and 50% physical damage. If your target is immune to physical damage, your attack can still inflict 50% fire damage.

Realistically, if you're using a skill that involves using your weapon to hit the target (eg: attack, double attack, triple attack, strong attack, etc), your weapon's attributes should be taken into account.

Or if your actor was completely surrounded by fire, you would expect it running up to an enemy would deal fire damage.
 

Joka

Villager
Member
Joined
Dec 8, 2019
Messages
21
Reaction score
1
First Language
English
Primarily Uses
RMMV
hi i would like to use your plugin for commercial use. Is that ok?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
like to use your plugin for commercial use. Is that ok?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

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.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,456
Members
137,821
Latest member
Capterson
Top