Element Rate Bonus Damage

Hi there. I had an idea for a passive aura that would grant the party bonus damage if they target the enemy's elemental weakness (anything > 1.00 Element rate).
Let's say, the bearer of the aura is in the active party, they're just there, another actor uses a Fire skill on a Fire-weak enemy, and because that enemy takes x2 damage from Fire, they take 30% more damage from that skill. And that's the case if enemy is ever hit by their element weakness.

The thing is, I have no idea how to do it. Any help would be appreciated
that is not possible by default, you'll need a plugin for that.

damage rates are only for receiving damage, and states can only increase parameters, not the damage directly.

to increase element-specific damage you would have to use a plugin for that option, and then follow the plugin instructions
Let's say, the bearer of the aura is in the active party, they're just there, another actor uses a Fire skill on a Fire-weak enemy, and because that enemy takes x2 damage from Fire, they take 30% more damage from that skill. And that's the case if enemy is ever hit by their element weakness.
by descriptions alone, youre looking at 3 plugins. Yanfly's buffs and states plugin, auto passive states plugin, and passive aura effects plugin. However, of the 3 of those plugins, the aura one is a paid plugin.

If you own all of them, you can use a <Custom Confirm Effect> notetag from the buffs and states plugin to boost damage dealt by attacks that exploit their target's weakness
by descriptions alone, youre looking at 3 plugins. Yanfly's buffs and states plugin, auto passive states plugin, and passive aura effects plugin. However, of the 3 of those plugins, the aura one is a paid plugin.

If you own all of them, you can use a <Custom Confirm Effect> notetag from the buffs and states plugin to boost damage dealt by attacks that exploit their target's weakness
Okay, two things:
Good thing, I do have all Yanfly's plugins
Bad thing, I have no flying idea how JavaScript works, so I'm totally lost at that
Bad thing, I have no flying idea how JavaScript works, so I'm totally lost at that
just to follow the case youve asked for:
Code:
<Custom Confirm Effect>
if (this.calcElementRate(target) > 1 && this.isDamage() && value > 0)
  value = Math.ceil(value*1.3);
</Custom Confirm Effect>
place that in the state granted by the aura and any action that does damage with an element the target is weak to will do 30% more damage
just to follow the case youve asked for:
Code:
<Custom Confirm Effect>
if (this.calcElementRate(target) > 1 && this.isDamage() && value > 0)
  value = Math.ceil(value*1.3);
</Custom Confirm Effect>
place that in the state granted by the aura and any action that does damage with an element the target is weak to will do 30% more damage
Yup, works like a clockwork!
Thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/element-rate-bonus-damage.173518/