Hey everyone,
I am currently using Yanfly's Party Gauge plugin (http://yanfly.moe/2016/02/06/yep-67-party-limit-gauge/) in my game. However, I wanted to design a formula so that if a player hits an enemy weakness, they will gain extra party gauge. I believe the correct formula for this is something like
if (b.elementRate(x) > 1) {100 + a.mat * 2 - b.mdf * 2 + $gameParty.gainPartyLimitGaugeIncrement(x); 100} else {100 + a.mat * 2 - b.mdf * 2}
First off - is this correct?
Second off - is there an easier way to do this so that I don't need to put this into EVERY formula box? Perhaps using Yanfly Auto Passive States (http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/) or another plugin that can somehow just make this a passive function?
Any advice is much appreciated! Thanks in advance!
I am currently using Yanfly's Party Gauge plugin (http://yanfly.moe/2016/02/06/yep-67-party-limit-gauge/) in my game. However, I wanted to design a formula so that if a player hits an enemy weakness, they will gain extra party gauge. I believe the correct formula for this is something like
if (b.elementRate(x) > 1) {100 + a.mat * 2 - b.mdf * 2 + $gameParty.gainPartyLimitGaugeIncrement(x); 100} else {100 + a.mat * 2 - b.mdf * 2}
First off - is this correct?
Second off - is there an easier way to do this so that I don't need to put this into EVERY formula box? Perhaps using Yanfly Auto Passive States (http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/) or another plugin that can somehow just make this a passive function?
Any advice is much appreciated! Thanks in advance!