MV Dual Strength & Weakness

I searched everything I could. I could just be stupid and didn't think of a more obvious description of what I want.

But essentially, this is what I am looking for:

A plugin that modifies the damage formula of weakness/resistance to allow for additive dual weaknesses and strengths. Where the total of the two combined becomes the bonus damage. With the exception of dual neutral damage.

Example:
Strong (-50%) x Strong (-50%) = no damage
Strong (-50%) x Neutral (100%) = 50% damage
Strong (-50%) x Weak (200%) = 150% damage
Neutral (100%) x Neutral (100%) = 100% damage.
Neutral (100%) x Weak (200%) = 300% damage.
Weak (200%) x Weak (200%) = 400% damage.

And of course, this would only apply to enemies with dual weaknesses (no enemy will have more than 2 weaknesses and no player will have more than one element and attribute).
correct me if I'm wrong, but could you not simply achieve this via passive states that contain these modifiers?
Can you? I didnt think they were additive but rather one or the other? I could be very much wrong, haha. But I always thought it only took the greater or something.
not certain about that, I say give it a shot though. will probably be quicker than waiting for someone to write a plugin for it.
Alright, thanks! I could just be used to RMXP, since I had to have a script made to do that originally haha.
Alright, thanks! I could just be used to RMXP, since I had to have a script made to do that originally haha.
good luck man!
Alright, just tried it. Yeah, the game seems to just pick the greater therefore?

I set it up as the following, one element and one attribute. The player's weapon has Jab and Wind. States start at 100. Anything below is more resistant and anything above is more damage. So for the enemy:

50-50
50-100
100-100
50-200
100-200
200-200

I set the attack to no variance and no crit so I would always get the same result for each hit.

Damage was:
7
13
13
26
26
26

So this confirms that the first one cut the damage in half. The second two went with the highest (100), and the last three went with the highest (200).

Unfortunately the system doesn't seem to add these (is it additive or multiplicative? I always get them backwards when it comes to percentages I swear haha), but instead, pick the highest multiplier.
if you know anything about lunatic mode, this could still probably be done with states. give me an add on discord and I'll see if I can give you a hand with it.
Zerothedarklord#8459
Default MV behavior is multiplicative stacking when there are multiple percentage effects (such as Magic Rate * 50% and Electric * 150% which would multiply to 75% for a Magic Electric attack).

There are plugins and scriptlets that exist to use additive stacking (rather than multiplicative), which is what you're looking for. See this thread for an example of a scriptlet that can do it.

If you want attacks to have two elements (such as Electric and Ice, rather than just two aspects such as Magic and Electric), you would need a plugin that allows you to assign more than one element to a skill. I believe Yanfly's library has one of those.

EDIT: If you notice, the damage dealt in your Jab/Wind example seems to always be based on the Wind element, possibly ignoring Jab completely (rather than taking the higher of the two). This means that you might not be applying attributes/elements the correct way, which I might expect because what you call an "attribute" is probably being handled the same way as Elements are, and like I mentioned above the only way to have multiple Elements in effect for the same action is using a plugin designed for that purpose.

Original thread: https://forums.rpgmakerweb.com/threads/dual-strength-weakness.127371/