My interest is to get an augmentation when added and removed to tick up a variable.
I got it to work so far:
<Augment Attach Eval: Sigil>
$gameVariables.setValue(101, $gameVariables.value(101) + 1);
</Augment Attach Eval: Sigil>
<Augment Detach Eval: Sigil>
$gameVariables.setValue(101, $gameVariables.value(101) - 1);
</Augment Detach Eval: Sigil>
However, I'd like to change which variable changes based on whether it's actor 0, 1, 2, or 3 and so on.
Plugin I'm Using: Yanfly Attachable Augments
I got it to work so far:
<Augment Attach Eval: Sigil>
$gameVariables.setValue(101, $gameVariables.value(101) + 1);
</Augment Attach Eval: Sigil>
<Augment Detach Eval: Sigil>
$gameVariables.setValue(101, $gameVariables.value(101) - 1);
</Augment Detach Eval: Sigil>
However, I'd like to change which variable changes based on whether it's actor 0, 1, 2, or 3 and so on.
Plugin I'm Using: Yanfly Attachable Augments