YEP passive states How do I tie stat buff to a variable?

So What I want to do is tie stat buffs for a passive skill to a variable but I dont know the tags and code to do it.

Something like user.atk+= 3% * variable

The goal would be passives that can be increased over time based on some kind of points spent in that passive. I tried searching but my google fu is too vague I think.

Original thread: https://forums.rpgmakerweb.com/threads/yep-passive-states-how-do-i-tie-stat-buff-to-a-variable.89558/