Character/Attributes

Attributes
Each character has a set of six attributes defining his specialization and capabilities during dungeon exploration and combat.

Each attribute starts from a base value of 100 but can be increased with passive skills and items.

Attributes govern certain aspects of attack and defense, and they also determine limits to equippable gear.

Compared Rolls (Math Inside)
Whenever attributes are compared to see who wins a contest both players roll their attribute value and compare the results.

The rolled die has a number of faces equal to the attribute value, so that every die can always roll a 1, but gets an higher maximum value.

So for example a character with a Strength of 100 will roll 1d100, while a character with a Strength of 150 will roll 1d150.

The two value are compared as follows:


 * 1) First the highest one determines the overall "winner" of the comparison.
 * 2) A ratio is determined dividing the lowest value by the highest one, this will always give a ratio higher than 0 and equal or minor than 1
 * 3) The result is generated by the ratio value
 * 4) A ratio equal or higher than 0.9 gives a result of 0 (the rolls where similar, it can be considered a tie)
 * 5) A ratio lower than 0.9 but equal or higher than 0.3 gives a result of 1 (a standard success)
 * 6) A ratio lower than 0.3 but equal or higher than 0.1 gives a result of 2 (a major success, such as a critical hit)
 * 7) A ratio lower than 0.1 gives a result of 3 (an incredible success)
 * 8) The result is applied to the winner, so the 2 will be a critical hit if the winner was the attacker, or a critical block if the winner was the defender

Using the example above, if the character attacked rolling a 95 on the 1d100 and the opponent defended rolling a 12 on the 1d150, the result is calculated as follows:


 * 1) The attacker is considered the winner with his 95 against the defending 12
 * 2) The resulting ratio is (12 / 95) = 0.13
 * 3) The ratio is between 0.3 and 0.1 so the result is 2 (critical success)
 * 4) The result is applied to the winner: the attacker, so the attack is a critical hit, meaning the defender has critically failed his defense