Status
Not open for further replies.

marbeltoast

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
98
Reaction score
34
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,076
Reaction score
15,041
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
34
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,228
Reaction score
6,007
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

Have you ever had the problem of not knowing how to name your game?
I tried to draw it to keep the aspect ratio of 48*48
It doesn't look good, but I'm not sure if there are other ways to render larger characters. and then maintain the sharpness or not
SF_Enemy1_6 added!
index.php

Just thought I'd share how my battlers are looking for my 4 main characters. From left to right... Ashlyn the brave fighter, Lizzabelle the peaceful mage, Suki the thief, Saedra the not-so-peaceful mage.

pLZHVLI.png
Power to the Game Make!

Forum statistics

Threads
118,780
Messages
1,118,654
Members
155,950
Latest member
Sorcuris
Top