Yanfly - Attach Augment Script help - Hestia Knife Gem

I want to make a Attachment for a weapon that replicates this script from the Hestia Knife video

<Custom Parameters>
atk=user.paramBase(2)*0.10 + user.level;
</Custom Parameters>

The issue I have is the Attach Augment Eval doesn't seem to have a way to fetch the weapon's user data

<Augment Attach Eval: Glyph>
item.params[2] += item.parent().paramBase(2)*0.10+parent.level;
</Augment Attach Eval: Glyph>
<Augment Detach Eval: Glyph>
item.params[2] -= item.parent().paramBase(2)*0.10+parent.level;
</Augment Detach Eval: Glyph>

please help T.T
Firstly, you need YFs Equip Core for this.
The Augments are not designed to pull the user's params so you'll need a workaround.
The easiest way I can see is to give weapons some extra data that the Equip Core tags can then look for.

So something like:

<Augment Attach Eval: Glyph>
item.hestia = true;
</Augment Attach Eval: Glyph>

Then in the custom tag:

<Custom Parameters>
If (item.hestia && item.hestia == true) atk=user.paramBase(2)*0.10 + user.level;
</Custom Parameters>

Something like that!
Give that a try and ser if it points you in the right direction.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-attach-augment-script-help-hestia-knife-gem.107812/