Fix manual Damage rolls breaking armor
Intent
When rolling damage using /red Xd6 there is no ablation data source to pull ablation data from so it gets set as NaN when parsing to an int. This MR check if the ablation data is NaN then sets it to 1.
-
This is meant for a hotfix -
This is meant for the next release (see milestone) -
This needs more reviewers than normal; there may be controversy or high complexity -
This intentionally introduces regressions that will be addressed later -
There is/will be documentation changes on the wiki -
Please do not send commits here without coordinating closely with the owner -
This is a Build System change
Related Issues
Steps to Test
- Checkout/Build/Load
- Create Character with armor
- Use
/redto roll some damage - Apply damage to Character
- Chat card shows
Ablation: 1 - Armour is ablated by 1