Using Elemental Weaknesses with Party Limit Gauge

I'm using Yanfly's Party Limit Gauge plugin, and I'd like to have attacks that hit an elemental weakness add to the party gauge.

For example, say I use a water skill against a fire monster. I would want the gauge to then increase by some amount, like 10.

The monster is already set up with an elemental weakness, and I see that custom effects can be added through this plugin, such as having a certain skill increase the gauge through the use of notetags. But I'm not sure how to have the gauge increase be conditional upon the striking of an elemental weakness. Any help would be greatly appreciated.

Link to plugin:
http://yanfly.moe/2016/02/06/yep-67-party-limit-gauge/

EDIT:
I was finally able to accomplish this through the damage formula, not the use of notetags. For anyone who might be interested I did the following:

if (b.elementRate(x) > 1) {100 + a.mat * 2 - b.mdf * 2 + $gameParty.gainPartyLimitGauge(x); 100} else {100 + a.mat * 2 - b.mdf * 2}

Where the first x is the element that the enemy is weak against, and the second x is the desired increase in the Party Limit Gauge. The rest of the formula is just the default damage calculation for a spell, such as Spark.

Mods can close this.

Original thread: https://forums.rpgmakerweb.com/threads/using-elemental-weaknesses-with-party-limit-gauge.96672/