Register

Roll Groups

An Add-on Module for Foundry Virtual Tabletop

Author: Zhell Project Source: Project URL Versions 11.315 - 11.315 (Verified 11.315) Last Updated 1 month, 2 weeks ago

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.

Interested in following along with development of any of my modules? Join the Discord server.

Supported Game Systems

  1. Dungeons & Dragons Fifth Edition

    Latest Version: Version 3.1.2 Last Updated 3 weeks, 2 days ago

Categories

Available Versions

  1. Version 11.3.4

    1 month, 2 weeks ago
    Foundry Version 11.315 - 11.315 (Verified 11.315) Manifest URL Read Notes
  2. Version 11.3.3

    2 months, 1 week ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  3. Version 11.3.2

    2 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  4. Version 11.3.1

    2 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  5. Version 11.3.0

    2 months, 4 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  6. Version 11.2.2

    5 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  7. Version 11.2.1

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  8. Version 11.2.0

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  9. Version 11.1.2

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  10. Version 11.1.1

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  11. Version 11.1.0

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  12. Version 11.0.3

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  13. Version 11.0.2

    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes
  14. Version 11.0.1

    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes
  15. Version 11.0.0

    Foundry Version 10 - 11 (Verified 11) Manifest URL Read Notes
  16. Version 10.0.9

    Foundry Version 10 - 10 (Verified 10.291) Manifest URL Read Notes