Status
Not open for further replies.

marbeltoast

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
98
Reaction score
33
First Language
English
Primarily Uses
RMMV
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:kaoswt: Thanks for reading, and good luck in your own projects!
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
6,114
Reaction score
5,859
First Language
English
Primarily Uses
RMVXA
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
Global Mod
Joined
Jul 2, 2014
Messages
14,072
Reaction score
15,023
First Language
English
Primarily Uses
RMVXA
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

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
98
Reaction score
33
First Language
English
Primarily Uses
RMMV
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
Global Mod
Joined
Sep 6, 2012
Messages
9,186
Reaction score
5,994
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

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.
bdd19b62e539d17b3b00cc3d63034f7d.jpg

fcca5c8471b34483da8e032cfe579275.jpg

Forum statistics

Threads
118,426
Messages
1,115,862
Members
155,378
Latest member
TrashWizard
Top