Roll Groups
This module (for dnd5e and sw5e) lets you configure multiple damage buttons for each item on an actor. For the formulas ('damage parts') in the item, you can group them in as many different combinations as you would like.
Additionally, you can add as many saving throw buttons as you like as well, for those rare items that have more than one type of saving throw.
How to use
On any item containing a damage formula, there is a configuration button next to the 'Damage Formula' header. To configure additional saving throws, there is a '+' icon next to the regular save.
Clicking this button opens the configuration menu. Create as many groups as you like, and give each a name. Tick any damage parts that should be included in the roll. When using the item, the normal damage button is replaced with one button for each group. Configuring damage groups on an item will not affect any other attributes of the item. Specifically, the 'Versatile Damage' and 'Other Formula' fields will still be available and function identically to core system behavior.
For saving throws, simply tick boxes in its separate menu.
Versatile Damage
In the group config, when adjusting the roll groups of an item with a formula in 'Versatile', you can denote which group should be rolled when clicking that button in the chat.
Blade Cantrips
The module has additional support for blade cantrips such as 'Booming Blade' and 'Green-Flame Blade'. In the group config, when adjusting a cantrip that has a damage formula, you can check the box to denote this as a 'Blade Cantrip'. When the spell is cast, the caster will then be given a button in the item's message to let them quickly roll attack and damage (with the cantrip's damage added on top) with one of their equipped weapons.
Macros
The function Item#rollDamageGroup
is added and works exactly as Item#rollDamage
, and in addition accepts the key rollgroup
, which is an integer denoting which group to roll (starting at zero).
Complementary Modules
These modules have all been confirmed to work without issues and complement Roll Groups.
- Build-a-Bonus, for applying niche bonuses in situational circumstances.
- Visual Active Effects combined with Concentration Notifier; the rollgroups buttons will display in the effects.
Interested in following along with development of any of my modules? Join the Discord server.