IrmatDen / Active-Auras

Supporting multiple target types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest Release Download CountForge Installs

Active-Auras

Important

  • Auras will only work in combat unless the setting is turned off in the module settings
  • Auras will only work on the Active Scene

Active Auras will propagate Active Effects that are labeled as auras onto nearby tokens. The distance and targeting of the aura are both configurable. Any @ fields from DAE will be correctly parsed before being applied to the effected token. Macros from DAE will fire once when applied and once when removed (work is being done for damage over time effects)

The "Apply while inactive" option allows for effects to propagate to other tokens while not applying to the Aura Token. This is useful for debuff style effects that should not effect the owner of the effect

Demo setup for Aura of Protection

  • We setup the aura status as Allies, as we only want the aura to effect allied tokens

  • We set the radius as 10 (measure in ft) Active Auras setup

  • We then move to Effect tab and add the relevant field. Make sure to use + in the field. Active Auras setup 2

-Finally we can see the effect has been transfered over to a nearly allied PC, and the @ field has been converted to the correct value Active Auras setup 3

Active Auras in concert with Token Magic FX and DAE

-Adding TMFX effects to tokens can be done with DAE -We can use macro.tokenMagic as the Attribute Key and select the effect from the avaliable dropdown

Active Aura TMFX

Active Aura Test

DAE Macro Executes

  • Using @token as a macro argument will now refer to the token the aura is applied to, you can use this in any DAE auras as normal

Compatability

  • Works with DAE as far as I know
  • Multi Level Token should work fine, clones actors are ignored for purposes of calculating auras

Templates and drawings

  • Any template effect can now call a AA macro (included in the compendium) in the Midi QoL OnUse field to apply any active effects to the template rather than the targeted tokens.
    • This template will then act as its own source of an aura, any tokens that move inside the template will have the aura applied to them (not radius from the placement)
    • For setting up auras like this, simply call the "AA ApplyEffectsToTemplate" macro in Midi QoL OnUse, any effects in the item will be applied to the aura
  • Auras can now be added to drawings through macros and will apply via the same logic as templates
    • Any token within a drawing will have the aura applied to them
    • Freehand drawings are not supported
    • drawing.setFlag("ActiveAuras", "IsAura", [effect.data]) where effect is the active effect to apply
    • There is a bundled macro to select an active effect from a pre-made actor available in the compendium, which has several "zone effect" style auras setup

Notes

  • Only works with a GM account currently connected
  • Only works while a GM views the scene where an update takes place (a notification is given when this occurs)

About

Supporting multiple target types

License:MIT License


Languages

Language:JavaScript 100.0%