-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(damage rolls): allow damaging items to override graze damage
* feat(graze damage override): added initial data model and input fields for override formula * feat(graze damage): moved override input into the hasSkillRoll condition per PR comments * feat(graze damage): Added separate roll for graze damage when overridden * feat(graze damage): fixed item sheet display toggle * feat(graze damage): Added support for multiple damage rolls with attributable sources. Improved base graze damage calculation * feat(graze damage): reverted base damage calculation to a simpler apporach for now * chore: added missed null value check * feat(graze damage): added hint description to graze override input * feat(graze damage): spread the damage rolls sent to chat cards * feat(graze damage): new approach to building graze rolls. Removed extra addition of modifier by apply damage function. Removed excess style declaration. * chore: removed old comment * feat(graze overrides): updated damage roll class to account for existing dice only option * feat(graze damage): updated items to store damage.dice better and align our implementation following notes from Brotherwise * feat(graze damage): added ability for damage rolls to filter multiple terms at once * chore: updated damaging items to use new filter function rather than placeholder * feat(graze damage): streamlined a bit of the damage option calculations, fixed typos and linting, updated code comments * Update hint wording to reflect new variables
- Loading branch information
Showing
10 changed files
with
216 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.