is there a Guide to Lunatic Mode

Is there a Guide to Lunatic Mode I am following the small instructions I can find in the forums to add the code I need but for some reason it's not working in game.
no, because it's basically "enable javascript" and any javascript code works.
If something doesn't work for you, post a screenshot of what you did here and we can check for your mistakes.
if i am trying to add a max stat to the Absorption Barrier that is the would go in the notes of the armor that will use the barrier correct

<Custom Barrier Points>
var maxbarrier = 100;
value = maxbarrier - user.barrierPoints()
</Custom Barrier Points>

<Custom Barrier Regen>
var maxbarrier = 100;
var regen = 20;
if ((maxbarrier - user.barrierPoints()) < regen) {
value = maxbarrier - user.barrierPoints()
} else {
value = regen
}
</Custom Barrier Regen>
I saw that there are some semi-colons left out, but not sure if that is really the cause for your issue. You could try this:

<Custom Barrier Points>
Code:
var maxbarrier = 100;
value = maxbarrier - user.barrierPoints();
</Custom Barrier Points>

<Custom Barrier Regen>
Code:
var maxbarrier = 100;
var regen = 20;
if ( (maxbarrier - user.barrierPoints()) < regen ) {
    value = maxbarrier - user.barrierPoints();
} else {
    value = regen;
}
</Custom Barrier Regen>

Tell us more what is it that is not working for you? Did you get a wonky barrier numbers? Or did you run into an error? I'll try to run a check later if the solution above does not solve your issue.
Lunatic mode of what? I assume you're using a plugin, but 4 posts in and it hasn't been identified yet.
oh the Absorption Barrier sorry lol. I thought this would create a max stat that wouldn't allow me to heal passed 100 Bp but that's not what is happening I can use restoration items to go as high as i want. Can't seem to make it stop. Am I putting it the right place?
Nothing has worked.. I can't figure out why
@csevans84
1) you were asked to give us a link to the plugin you're using, so that we can check its rules without having to search for it ourselves.
A name alone rarely helps.

2) please provide a screenshot of your plugin manager. With Yanfly's plugins, the order is important and it might simply be that your plugin is blocked because you made something wrong in the plugin manager, or because you have two incompatible plugins or so.
https://www.dropbox.com/s/5cpwyqp3yryczac/YEP_AbsorptionBarrier.js?dl=0

Untitled.jpg
Untitled.jpg
Untitled.jpg

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-guide-to-lunatic-mode.81179/