RPG-type damage calculations

Blitz3D Forums/Blitz3D Programming/RPG-type damage calculations

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well... I just had Strength and defense, and I just divded the defense by two, subtracted it from the strength, and added a random from the weapon bonus ( so like Rand(-5,5) for a 5 damage weapon)
Then make it at least 0 if its under.... but thats me.