also stat variations are something that i noticed also its a work in progress i converted the c++ functions from eqmu to ruby so i didn't expect them to be flawless it will get there at some point .. attack is calculated based on your levels max possible weapon skill same for ac is calculated using your max possible defense.. as for hp we can sit together and scratch our head at this
Code:
return (5)+(level*lm/10) + (((sta-post_255)*level*lm/3000)) + ((post_255*level)*lm/6000)