OK, so I am building a PHP RPG using MySQL and it is all coming along very nicely...learned everything I know so far from a book so bear with me! I am a little confused, I am working nw on the combat scenarios and math statements and calculations but to make it simple I want to:
have asure pick another user to battle (I can code that)
have each user's info gathered from the database for comparison (I can also do that)
here is what I am having a hard time with, at this point if one user is stronger than another lets say, I want them to be able to inflict more damage than the weaker guy. Anyone know of some good references for these types of math functions or scripting?