foundryvtt-shadowdark
foundryvtt-shadowdark copied to clipboard
Enhancement: Refactor functions for attacks and checks rolls
Refactor and expand functions around attacks and checks to enabled easier changes and more useful for automation macros. Changes will allow for:
- Bonuses and advantages on all roll types.
- one or more selector components of the key path that will provide a scope of conditions that the change should apply to. ie.
system.roll.{selector: melee|ranged}.advantage.{Selector: all|this|weapon_type|name_of_property}
List of new roll modifier AEs are listed here: https://github.com/Muttley/foundryvtt-shadowdark/wiki/API-Reference#roll-active-effects-keys