Status
Not open for further replies.

marbeltoast

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
98
Reaction score
32
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,851
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
13,967
Reaction score
14,817
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
32
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,112
Reaction score
5,963
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

A bust of my character, Lizzabelle, that I put together in GIMP. I combined the RMMZ generated face with my actual illustration of her. This is just me experimenting with busts. I don't really want to use busts in dialogue, but perhaps in the character menu.

2Ixbzbd.png
How many people actually like action commands? (Which is pressing a button at the right time during an attack to deal more damage.)
It is a curse and a blessing getting better at javascript after each plugin... Now I am considering changing two previous plugins completely, and they're not small plugins either -.-' Not to mention that I'll add more features... This is why I never manage to release a game, I just keep updating everything I've already done :p
Hello! Thank you for visiting my Page! ✅

Forum statistics

Threads
117,029
Messages
1,103,941
Members
152,940
Latest member
PsYcHiC_PuSsYcAt
Top