Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,889
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,889
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
3,380
Reaction score
804
First Language
English
Primarily Uses
RMVXA
like to use your plugin for commercial use. Is that ok?
 

Latest Threads

Latest Profile Posts

Every once in a while I check to see if my planned game titles are taken or trademarked. Still okay. I plan to take my time for the sake of quality, but at the same time it feels like a race against some hidden dev out there who also plans to publish or register the same title.
Who else here likes frogs? I sure do like them squishy beings! :rwink:

froggy.png
Only the goggles are imported ... not the eyes
a lot of my maps and battlebacks are me redrawing base rpg maker mv stuff to match with my own artwork... sometimes it comes out ok lol.

Forum statistics

Threads
117,191
Messages
1,105,334
Members
153,319
Latest member
RhemeChan
Top