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.
Then make it at least 0 if its under.... but thats me.