FilipeBS Posted February 8, 2013 Author Share Posted February 8, 2013 Hi!Can anybody explain me about the Vitals? How it's stored? The server saves the HP and MP separated or it calculates by taking the vital as reference? I'm trying to change the actual database to MySQL and I don't kwon if I have to save only the vital or the HP & MP. Link to comment Share on other sites More sharing options...
DeathKnight Posted February 9, 2013 Share Posted February 9, 2013 Player Vital's is stored as an array, so the array is named vital, and HP and MP are stored seperately in the array. I may be wrong on this part, but I believe the HP is stored in spot 1 of the array and MP is stored in 2, and 0 is unused.```' Vitals used by Players, Npcs and ClassesPublic Enum Vitals HP = 1 mp ' Make sure Vital_Count is below everything else Vital_CountEnd Enum``` Link to comment Share on other sites More sharing options...
FilipeBS Posted February 9, 2013 Author Share Posted February 9, 2013 Thanks DeathKnight Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now