Auto Passive states that raise a stat by a certain percentage every turn

I want to make an auto passive state that whenever the character is drowsy, their magic attack increases by 50% each turn.  Anyone know the code for this?
your gonna need yanfly's auto passive state and lunatc notebox.....


you might have to ask yanfly directly about what the exact code would be


due to i'm still learning the ins and outs myself

Original thread: https://forums.rpgmakerweb.com/threads/auto-passive-states-that-raise-a-stat-by-a-certain-percentage-every-turn.55368/