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,670
Reaction score
8,489
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,747
Reaction score
2,847
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

Warper
Member
Joined
Jun 25, 2020
Messages
4
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,670
Reaction score
8,489
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 might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?

Forum statistics

Threads
115,171
Messages
1,087,803
Members
149,721
Latest member
frankdontrithep61
Top