Heya guys, quick question for you all, I'm basically trying to find a way to have a Passive State that converts Mat into Atk and vice-versa, I've already got YanFly's Auto Passive States and Base Parameter Control, I've got these two lines here :
user.addAtk(Math.ceil(user.mat * 0.1));
user.addMat(Math.ceil(user.atk * 0.1));
The problems I'm encountering are the following :
This makes Atk scale off Mat and then makes Mat scale off Atk along with its new bonus Atk. I've tried using battler.clearParamPlus() and it somewhat works in the sense that I now deal a reasonable amount of damage rather than 100x what it was supposed to, however the scaling still isn't the same, there will always be more Mat than Atk.
The second one is that I do not know what Notetags to use in order to just have those two lines. I'm currently using the <Custom Passive Condition> notetag from Auto Passive States, because that was the only one that worked so far, but I'm not sure if it's the right answer.
Thanks for your help, as always!
user.addAtk(Math.ceil(user.mat * 0.1));
user.addMat(Math.ceil(user.atk * 0.1));
The problems I'm encountering are the following :
This makes Atk scale off Mat and then makes Mat scale off Atk along with its new bonus Atk. I've tried using battler.clearParamPlus() and it somewhat works in the sense that I now deal a reasonable amount of damage rather than 100x what it was supposed to, however the scaling still isn't the same, there will always be more Mat than Atk.
The second one is that I do not know what Notetags to use in order to just have those two lines. I'm currently using the <Custom Passive Condition> notetag from Auto Passive States, because that was the only one that worked so far, but I'm not sure if it's the right answer.
Thanks for your help, as always!