Skip to content

A module that aims to automatically target tokens affected by items based on their "Target" properties and measured template placement

License

Notifications You must be signed in to change notification settings

ElfFriend-DnD/foundryvtt-item-targeting-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Item Targeting Utilities D&D5e

Foundry Core Compatible Version Latest Release Download Count Forge Installs Foundry Hub Endorsements Foundry Hub Comments

ko-fi patreon

This module aims to automatically target tokens affected by items based on their "Target" properties and measured template placement.

It does so to enable modules like "Auto Check NPC Save D&D5e" to more accurately aid the GM in resolving combat actions.

Compatiblity Notes

Compatible with:

  • Minimal Rolling Enhancements
  • 5e Helpers

Not Compatible with:

  • DF QOL's measured template functionality doesn't affect how this module calculates token targets. It is recommended to use that module's template targeting if you want its style templates.

If you're using Midi, everything this module does is already entirely possible in Midi. Do not use this with that.

LibWrapper Priority

This module works best when it has been Deprioritized in Libwrapper. If you are seeing chatcards for modules like Auto Roll Save appearing out of order, this is probably why.

Example showing libwrapper priority

Image Showing deprioritization of module in Libwrapper settings.

Feature Overview

Measured Templates

Items which have an area target will wait for the measured template to be placed before outputting a chat card (and thus firing the Item5e.roll hook from More Hooks 5e).

Measured Templates will target all tokens within their area. Walls which block movement will conceal tokens from targeting as long as the wall is between the point of origin for the template and the token.

TODO:

Ally and Enemy

Items that target "Ally" or "Enemy" with a range attached will automatically target all tokens of the appropriate disposition within that range. Walls that block movement will prevent automatic tageting.

Self

Items that target "Self" will automatically target the token rolling the item. This is not to be confused with items that have a range of "Self"

Range Check

Inform the GM if the targeted token or measured template is outside the range of the item being rolled.

About

A module that aims to automatically target tokens affected by items based on their "Target" properties and measured template placement

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published