I explain what I want to do and why I want to do it that way.
My problem is that I want the item that is attached to a piece of equipment that gives HRG or MRG to not regenerate when using a specific type of skill. The reason for this is that this type of ability is more of a selection of combat tactics that alters the development of the combat until it ends. At the beginning of the battle the player can choose which tactic he wants to use. But this becomes a problem since during the course of the battle the player can choose to change tactics and because using that ability is instantaneous and allows an action to be performed again instantly, the player can take advantage of that and change of tactics repeatedly regenerating infinitely.
That's why I'm eliminating all types of regeneration when he uses that type of ability and I'm achieving it without problem with note tags using yanfly's buffsystatescore, but I couldn't achieve it with the HRG or MRG that is gained with attach augment.
I tried making the attached object give a passive state that provides regeneration based on a variable that I set with <attach augment: eval> but apparently the <Custom Regen Formula> does not take the variable that I set in <attach augment eval>
This is what I put in the attached object:
<Augment: Mango>
Add Passive State: 744
Price: +50
Cannot Detach
</Augment: Mango>
<Augment Attach Eval: Mango>
var regenerateHRG = regenerateHRG || 0;
regenerateHRG +=1;
</Augment Attach Eval: Mango>
This is what I put in the passive state:
<Custom Regen Formula>
value = user.mhp * 0.01 * regenerateHRG;
element = 11;
</Custom Regen Formula>
And another thing I realized that doing this is going to be a problem if several teams were attached with hrg or mrg and several actors use it, the regenerateHRG variable will accumulate for all of them. I tried using user._regenerateHRG to customize the regenerateHRG variable for each user so it doesn't accumulate, but I still don't quite understand how that works in note tags. In attach augment eval putting user._ does not work.
Can anyone help me with ideas to solve this problem?
I just need help with that Attach Augment plugin but if you want to see the plugins I use, tell me and I'll show them.
My problem is that I want the item that is attached to a piece of equipment that gives HRG or MRG to not regenerate when using a specific type of skill. The reason for this is that this type of ability is more of a selection of combat tactics that alters the development of the combat until it ends. At the beginning of the battle the player can choose which tactic he wants to use. But this becomes a problem since during the course of the battle the player can choose to change tactics and because using that ability is instantaneous and allows an action to be performed again instantly, the player can take advantage of that and change of tactics repeatedly regenerating infinitely.
That's why I'm eliminating all types of regeneration when he uses that type of ability and I'm achieving it without problem with note tags using yanfly's buffsystatescore, but I couldn't achieve it with the HRG or MRG that is gained with attach augment.
I tried making the attached object give a passive state that provides regeneration based on a variable that I set with <attach augment: eval> but apparently the <Custom Regen Formula> does not take the variable that I set in <attach augment eval>
This is what I put in the attached object:
<Augment: Mango>
Add Passive State: 744
Price: +50
Cannot Detach
</Augment: Mango>
<Augment Attach Eval: Mango>
var regenerateHRG = regenerateHRG || 0;
regenerateHRG +=1;
</Augment Attach Eval: Mango>
This is what I put in the passive state:
<Custom Regen Formula>
value = user.mhp * 0.01 * regenerateHRG;
element = 11;
</Custom Regen Formula>
And another thing I realized that doing this is going to be a problem if several teams were attached with hrg or mrg and several actors use it, the regenerateHRG variable will accumulate for all of them. I tried using user._regenerateHRG to customize the regenerateHRG variable for each user so it doesn't accumulate, but I still don't quite understand how that works in note tags. In attach augment eval putting user._ does not work.
Can anyone help me with ideas to solve this problem?
I just need help with that Attach Augment plugin but if you want to see the plugins I use, tell me and I'll show them.