So I want to make a sort of in game explanation for the player's stats, and what the stats do, but I can't exactly do that if I don't know what half these stats actually do.
MAX HP, MAX MP, ATTACK, DEFENSE, M.ATTACK, M.DEFENSE, AGILITY, LUCK
I know that the first four seem obvious, but I'd like a good explanation on what every one of these stats do, especially luck.
Please ^_^'
Most of these stats don't do anything innately. You decide what they do when you make the damage formulas for various attacks and skills.
That said, Agility also natively affects initiative and escape chance while LCK by default has a small effect on status infliction and status resistance.
Only AGI and LUK are hardcoded to the core engine to affect anything you dont directly explain, namely turn order for AGI while LUK affects criticals and i read it affects states somewhere but im not sure about that one.
You can rename these stats even so what they do and how to explain to the player depends entirely on what you use these stats for.
as said above, most stats have no function outside the damage formulae, and those are set by you.
However if you're that new and interested, then some additional info might help you.
1) you can rename and change any stat (other than HP, MP, AGI and LCK) without problems, but if you do then you are responsible for keeping everything consistent in the skills, and that means changing every skill there is.
Which is why a lot of people don't do that.
2) by default, all damage formulae use the attack values to increase the damage, and the defense values to reduce the damage. and then apply that damage to either current HP or current MP depending on skill settings.
But as said that is only the default and can be changed in any way you can change the damage formula for the values. Changing the effect on HP/MP is a bit more complicated as the skill value gets added or substracted by default, but even that can be changed with a bit more work.
3) AGI
In battle, every battler has one action. the action order is determined by battler.agi plus skill.speed plus a random %, then ordered top value down.
The base values of enemies will make it look as if the actors always go first, but that is not true and if you give the enemies higher AGI the action order will be much more mixed.
and a lot of people are ignoring skill speed, which should be used to make some skills acting early and others acting late in the turn, like buffs coming in at the beginning and heavy attacks being delayed.
4) LUCK
as said above, while the effect of luck exists it is neglectable.
If one battler has luck=1 and the other battler has luck = max/9999, then the chance of a successful application of a state is halved from the skill value. And if the difference is lower, then the effect is lower than halving the chance.
You do the math - with similar luck values (as is given by default) the math goes down to a 0,005% chance difference per point at best.