Refactored the whole mod
-
Improved Configurability: now Entities and Players can have two entirely different shrugging configurations (Closes #2)
-
Improved Logging: now with less useless info spam. Options to log or disable logging for each category (logic, chances and damage sources) separately, both to chat and in game log
-
Added a new Formula: uses a sigmoid function so that as the armor toughness increases, the chance to dodge the attack increases asymptotically to 1.0 (100%)
-
With the new formula, when the toughness increases the dodge chance increases, with diminishing returns
-
A parameter can be used to control the "toughness factor", so that if you are playing with mods that add armors with huge toughness attribute, you can fine tune the formula and make it fair
-
-
Added option to log chances. Useful for modpack makers and to fine-tune the new formula
-
Added a config option to turn off the new formula and use the old one
-
Added a config option to the old formula to modify the base value
-
Added a config option to the old formula to set the maximum dodge chance