YEP JobPoints

I've tried to get JP per action based on the user level but all i got was an error.


This is the formula  


(8 + (user.level * 2) + (user.level / 4)) * 2


And this is the error

Spoiler
ReferenceError: user is not defined
    at Game_Actor.eval (eval at <anonymous> (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_JobPoints.js:400:46), <anonymous>:1:7)
    at Game_Actor.Game_Battler.useItem (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_JobPoints.js:400:37)
    at Function.BattleManager.startAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_BattleEngineCore.js:1894:13)
    at Function.BattleManager.startAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/VE_BattleCommandWindow.js:758:49)
    at Function.BattleManager.startAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/MOG_ComboCounter.js:136:32)
    at Function.BattleManager.startAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_BuffsStatesCore.js:1014:42)
    at Function.BattleManager.startAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_WeaponUnleash.js:478:42)
    at Function.BattleManager.startCTBAction (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_X_BattleSysCTB.js:1106:12)
    at Function.BattleManager.selectNextCommand (file:///D:/Drive/Project%20TimeWarp/js/plugins/YEP_X_BattleSysCTB.js:1006:14)
    at Scene_Battle.selectNextCommand (file:///D:/Drive/Project%20TimeWarp/js/rpg_scenes.js:2295:19)
Try this instead of user.
It worked and it's amazing.
Thx

Original thread: https://forums.rpgmakerweb.com/threads/yep-jobpoints.62862/