Stats

Stats control such things as Bonus to Hit (BtH), Health Points (HP), Mana Points (MP) and damage. They can be trained by clicking 'Visit the Stat Trainers' when you meet Twilly. There are 6 stats, and they are:

Strength (STR)

 * Extra Random damage for Melee and Ranged hits
 * Extra BtH for Melee hits

Dexterity (DEX)

 * Ranged Random damage
 * Attack BtH for all attacks (excluding weapon Specials)
 * Blocking/Dodging skill
 * Ability to disarm Potion chests and traps

Intellect (INT)

 * Bonus Magic and Spell damage
 * Magic and Spell BtH
 * Total MP
 * The amount of MP a Mana Potion restores

Endurance (END)

 * Total HP
 * The amount of HP a Health Potion restores

Charisma (CHA)

 * Pet Random damage bonus
 * Pet BtH
 * Pet attack rate

Luck (LUK)

 * Lucky Strikes (critical hits)
 * Attack BtH for Melee, Ranged, Magic and Spells
 * Blocking rate
 * Chance of attacking first
 * Amount of HP and MP a Health Potion and Mana Potion restores respectively.

Stat Formulas
BtH Bonus
 * Melee: DEX/16 + STR/16 + LUK/20
 * Ranged: DEX/8 + LUK/20
 * Magic: DEX/16 + INT/16 + LUK/20

Random Damage Bonus
 * Melee: STR/8
 * Ranged: STR/16 + DEX/16
 * Magic: INT/8
 * Spells: INT/16 + DEX/16 + LUK/20

Blocking Skill Bonus
 * DEX/10 + LUK/20

Total HP & MP Potion Healing Pet Info Potion Chest and Trap Disarming
 * HP: (Level/5) + (0.05*Level*END) + END + 100
 * MP: (Level/5) + (0.05*Level*INT) + INT + 100
 * HP: (Level/3) + 50 + Random(50) +Random(LUK/2) + Random(END/2)
 * MP: (Level/3) + 50 + Random(50) +Random(LUK/2) + Random(INT/2)
 * Random Damage Bonus: CHA/15
 * BtH: Stated Bth + 5 + (CHA/15)
 * % Chance to disarm = DEX (capped at 100%)

Treasure Chest
 * N = Level + (LUK/5)


 * N = 30 to 49 :: Treasure Chest ::::::::: 275 Gold / 0 Exp
 * N = 50 to 64 :: Big Treasure Chest :::: 425 gold / 50 Exp
 * N = 65 to 84 :: Huge Treasure Chest :: 650 Gold / 100 Exp
 * N = 85+ ::::::: Treasure Hoard :::::::: 800 Gold / 200 Exp

I would like to give credit to Neons Formula Guide and Dev's edition of it.