Yes you're right you'll have to add parameters, but I was just showing you how I did it.
Those algorithms are exact except they don't account for the specific weapons (such as Fixed Dice). I also didn't add anything for damage being dealt FROM the back row (it works if the enemy is attacking a player in the back row, but not if a backrow player is attacking an enemy)
Those algorithms are exact except they don't account for the specific weapons (such as Fixed Dice). I also didn't add anything for damage being dealt FROM the back row (it works if the enemy is attacking a player in the back row, but not if a backrow player is attacking an enemy)