Randor01

Veteran
Veteran
Joined
Dec 24, 2018
Messages
92
Reaction score
16
First Language
Italian
Primarily Uses
RMMV
Hello. I was wondering if there is a way so that, if a weapon is a specific element, it deals additional damage based on that element rather than converting all damage under that element.

I'll try explaining myself better with an experiment: Let's say that we have a Fire Sword. This weapon when attacking deals 10 Slashing damage, plus 4 Fire damage.
In this case we attack a zombie. Zombies have 50% resistance to Slashing damage, but have a 100% weakness to Fire damage. So, when we attack it with the sword, we would deal a total of (10-5)+(4+4) = 13 damage.

Is there a plugin or known method to implement something like this?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,723
Reaction score
8,508
First Language
German
Primarily Uses
RMMV
not possible by default, it requires a plugin that changes the way damage is handled.
and while I know that there are a few plugins that do this, I don't know if their way of handling damage is the same that you want.

you'll have to describe what you want in plugin request forum.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,756
Reaction score
2,849
First Language
English
Primarily Uses
RMMZ
As Andar said, this will require a plugin. Every plugin I currently know of that allows for multiple elements applies them multiplicatively rather than calculating resistances separately. You might be able to do something like this with YEP plugins and lunatic mode, but other than that I'm not aware of an existing plugin that does what you're asking for.
 

RicardoxRyu

Villager
Member
Joined
Jun 25, 2020
Messages
7
Reaction score
0
First Language
Indonesia
Primarily Uses
RMMV
Why not trying this?
10 * b.elementRate(x) + 4 * b.elementRate(x)

One x is for slashing
Another x is for fire
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,723
Reaction score
8,508
First Language
German
Primarily Uses
RMMV
Why not trying this?
10 * b.elementRate(x) + 4 * b.elementRate(x)

One x is for slashing
Another x is for fire
because the total would still be multiplied by the element rate set for the entire skill
 

Randor01

Veteran
Veteran
Joined
Dec 24, 2018
Messages
92
Reaction score
16
First Language
Italian
Primarily Uses
RMMV
because the total would still be multiplied by the element rate set for the entire skill
I actually think he might be onto something. If i use that method along with Yanfly's Damage Formula, i can remove the elementRate from the standard damage formula and only use it inside the attacks.
 

Latest Threads

Latest Profile Posts

I'm making Toilet in Wonderland 2. and tell vinny about it lol
WE ARE THE BORG. YOUR BIOLOGICAL AND TECHNOLOGICAL DISTINCTIVENESS WILL BE ADDED TO OUR OWN. RESISTANCE IS FUTILE.
D2R save files are so broken. how was the beta test better then the full release. blizzard's last hope crashed and burned.
they're getting no more chances from me.
Anyone going to talk about Chris Pratt Mario?

Forum statistics

Threads
115,336
Messages
1,089,103
Members
150,007
Latest member
Jay_
Top