(Solved) Overlapping element rate modifiers

Status
Not open for further replies.

marbeltoast

Hey all!

Quick question: In MV, suppose I have 2 elements, let's call them X and Y for simplicity, an actor and two equipment pieces, both of which can be worn at the same time by my actor.

My actor has the element rate tags X * 120 and Y * 80 by default.
I equip the first equipment piece, which has the tags X * 50 and Y * 200.
Then I equip the second piece, which has Y * 40 only.

How much damage would my actor take from either element, with all other factors being neutral?
Also, if it isn't 70% from X and 120% from Y, how can I make it so it is? (I get that this is probably a "you'd need a plugin" style thing, so if there's one out that can do this then please let me know!)

Sorry this sounds so much like a maths exam question Thanks for reading, and good luck in your own projects!

Wavelength

MSD Strong
I believe that all element rates of the same element will stack multiplicatively, so:
• The actor will take 120% * 50% = 60% damage from Element X.
• The actor will take 80% * 200% * 40% = 64% damage from Element Y.
I'm not aware of any existing plugin that changes the stacking to additive (which sounds like what you were expecting), but yes, it could certainly be done.

bgillisp

Global Moderators
It's mulitplication, so multiply the element rates. X will be 1.2 * .5 which is .6 or 60%. Y is .8 * 2 *.4 which is .64 or 64%.

I'd honestly just redo the * so it works out to the numbers you want, as the system was always meant to be * for element rates. Changing it to + will break more things than it will fix.

marbeltoast

Well, if it stacks multiplicatively, and there's no easy way to change that, then I guess it's back to the drawing board. Oh well, I know more now than I did before, and that's never a bad thing! Thanks!

slimmmeiske2

Little Red Riding Hood

Status
Not open for further replies.

Latest Profile Posts

Hi everyone! Enjoying this nice long weekend. How are you all doing?
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.
That awkward moment when you're talking about thinking about writing a limited shop stock plugin for MZ and then find out you already wrote one...last May. My memory is so bad.
When I open my project and I'm like, hell yeah.
Some drawings I made in Lapis, one day I intend to involve them in some RPG Maker project.
* maybe two wall frames
*or some sprite flower tiara, or maybe it inspires someone to do something.