I'm using Tsukihime's BattleActionExp plugin with the following formula:
This allows the characters in the party to gain EXP not just by damaging enemies, but also healing each other, including healing MP.
I have it set up so that whenever a character targets themselves with an MP heal spell, they gain the same amount of MP that they lose. Thus, negating the effects of the MP heal.
This causes a problem though where the character who targets themselves with the spell won't recover MP, but they will gain EXP. Basically, since they lose MP and then gain it again, the Battle Action Exp plugin thinks that they have gained the MP.
I have tried making it so that they cannot select themselves with the spell using Yanfly's Target Core and Selection Control, but unfortunately this only works inside battles and not in the menu. If there is a way for it to work in the menu that would eliminate all of my issues I've had with the MP spells in general, but I can't seem to find anyone who has made that work.
I realize this is a pretty niche issue but if someone could help me figure out a solution it would be fantastic.
Code:
Math.abs(b.result().hpDamage + b.result().mpDamage)
I have it set up so that whenever a character targets themselves with an MP heal spell, they gain the same amount of MP that they lose. Thus, negating the effects of the MP heal.
This causes a problem though where the character who targets themselves with the spell won't recover MP, but they will gain EXP. Basically, since they lose MP and then gain it again, the Battle Action Exp plugin thinks that they have gained the MP.
I have tried making it so that they cannot select themselves with the spell using Yanfly's Target Core and Selection Control, but unfortunately this only works inside battles and not in the menu. If there is a way for it to work in the menu that would eliminate all of my issues I've had with the MP spells in general, but I can't seem to find anyone who has made that work.
I realize this is a pretty niche issue but if someone could help me figure out a solution it would be fantastic.