module

Combat Numbers

Endorsements
5
Installs
9.35%
Comments
1
Latest version1.1.5
Minimum Core0.7.5
Compatible Core0.8.7
Last updated3 months ago
Created10 months ago
Authors
Languages English
Korean
Svenska
日本語
Systems All systems
Project source Project URL
Read-me Readme URL
Changelog Changelog URL
License License URL

Combat Numbers is a FoundryVTT module which showcases bouncing combat text on tokens, similar to old-school JRPGs. There's still work to do, but it allows for fine-grained control on what is broadcast to other players when an actor's HP changes.

Downloads Forge Installs Issues MIT License

Patreon

 

What Does This Look Like?


Damage example:


Healing example:

 

Supported Systems

  • DnD5e (Dungeons and Dragons 5th Edition)
  • D35E (3.5 SRD)
  • PF2e (Pathfinder 2nd Edition)
  • PF1 (Pathfinder 1)

If you have a system you would like to use but it is not in the list above, it may just work out of the box! If you're finding that it is not or misbehaving, read the section entitled "Advanced Customization for Unsupported Systems".

 

Canvas Layer Controls


Combat Numbers Canvas Layer Controls

Combat Numbers includes an additional Canvas Layer Control button in the toolbar, seen as "#". Currently, this is only available for GMs. When clicked, you are presented with two toggleable options:

  • Pause Broadcasting: If toggled to ON, this will pause broadcasting any Combat Number displays to other players. For example, if you modified the HP of a monster, other players would not see the Combat Numbers display on that monster token. The player can edit their own HP however and still see and broadcast their own Combat Numbers.
  • Mask Combat Numbers Display: If toggled to ON, this will mask the numeric display of any Combat Numbers that you see and broadcast to other players. Damage Combat Numbers will be seen as "Hit", and healing Combat Numbers will be seen as "Healed". Feel free to change the text of the masked Combat Numbers in the settings.

 

API

Adjust Combat Numbers settings within your macros! You can access the API via window.combatNumbers, and have access to these methods which affect the canvas layer controls:

  • setIsPauseBroadcast (boolean)
  • setIsMask (boolean)

For example, to stop broadcasting HP changes as a GM, you could run:

window.combatNumbers.setIsPauseBroadcast(true);

Settings

  • Appearance: Customize the look and feel of the Combat Numbers when rendered on the Scene
    • Font
      • Font Family: The font that the Combat Numbers will be rendered in
      • Font Size: The size of the font. This renders the size of the Combat Numbers relative to the Scene's grid size
      • Bold: Makes the rendered text bold
      • Italic: Makes the rendered text italicized
    • Fill
      • Damage Color: The color used for the damage Combat Numbers
      • Heal Color: The color used for the healing Combat Numbers
    • Stroke
      • Color: The color used for the Combat Numbers stroke (or "outline")
      • Thickness: How thick the stroke (or "outline") is rendered
    • Drop Shadow
      • Color: The color used for the Combat Numbers drop shadow
      • Alpha: The transparency of the drop shadow. 0 is invisible, 1 is completely visible
  • Wait Time: The amount of time (in seconds) between an HP change and displaying the Combat Numbers.
  • Linger Time: The amount of time (in seconds) for the Combat Numbers to linger on the screen after being displayed.
  • Show Canvas Layer Controls: If enabled, it will show the Canvas Layer Controls button in the toolbar. Defaults to enabled.
  • Show Addition / Subtraction Modifiers: If enabled, it will show a "-" in front of a Combat Number when dealing damage, or show a "+" when healing.
  • Mask Default State: The default state of the masking toggle in the Canvas Layer Controls tools. Checked means ON, unchecked means OFF.
  • Mask Damage Text: When masking is on, this is the text that will display for damage instead of the numeric value.
  • Mask Heal Text: When masking is on, this is the text that will display for healing instead of the numeric value.
  • HP Object Path: See the section below.
  • Temporary HP Object Path: See the section below.

 

Advanced Customization for Unsupported Systems

Currently, it's tough to support every popular system out there for Foundry. In the module settings, you can specify "HP Object Path" and "Temporary HP Object Path". Some Foundry VTT systems support HP in a slightly different object structure. If you know how Actor and Token entities structure their data for the HP and temp HP attributes, you can specify this here.

For example, the default HP Object Path for the DnD5e system is attributes.hp.value. For the Old-School Essentials system, it is hp.value.

Please see our Wiki for details on already documented systems.

 

Language Support

  • English
  • 한국어/韓國語 (Korean) - thanks to drdwing for this localisation!
  • 日本語 (Japanese) - thanks to touge for this localisation!
  • Svenska (Swedish) - thanks to xdy for this localisation!

 

Changelog

Please see the Changelog for all changes between updates

 

Future Planned Features

  • Different animations instead of just a basic bounce
  • ...please suggest some!
Subscribe
Notify of
1 Comment
Inline Feedbacks
View all comments
j03n1nj4
6 months ago

This is cool, but I really wish there was a toggle option to make it only visible to the GM. I love all the automation feature for foundry, but I try to keep the video game-y feel low for my players and number pop ups is very video game-y. As a GM though I would find this very useful.

1
0
Would love your thoughts, please comment.x
()
x