Status
Not open for further replies.

marbeltoast

Your future fish empress
Veteran
Joined
Nov 11, 2018
Messages
101
Reaction score
36
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,887
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,447
Reaction score
15,723
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
101
Reaction score
36
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
10,103
Reaction score
6,392
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 Profile Posts

9 days left for Harold Jam... hope it's not too late to start gam mak
i think this girl has to be my favorite though :)
62702017_JJKXazrs2LInoZh.png
Wouldn't you know it? Every woman that is interested in me on FB is a bot. Maybe I should respond with 000100100011. If u r willing to date women on FB something has definitely went wrong with your life.
Hello world !! I've created a logo design for my game, I'm calling it "Soup Quest" (It was honestly the best I could come up with <:]) !!
[IMG]https://media.discordapp.net/attachments/866542330286178344/1076307540528332830/Soup_Quest_Game_Logo.png?width=473&height=473[/IMG]
P.S. ty to the person who told me about the "purple text not mixing well with dark mode". I'll be careful on using colored text in the future !!

Forum statistics

Threads
129,745
Messages
1,204,795
Members
170,835
Latest member
KathleenL42
Top