Note: You are not logged in.
illahad's Prompt Reaction

by illahad

FREE
5.00 Avg. rating

Forum Thread
Total Subscribers:


Description

What does it do

This extension parses NPCs added in the Combat Tracker and detects what reactions they have. When the corresponding trigger happens, and the creature is able to react i.e. it is not incapacitated, did not spend its reaction and can see the target if vision is required, a prompt will appear in the chat. The prompt can be a link to the reaction, a link to the NPC sheet or the description of the reaction itself.


Besides incapacitation, the extension will check if the distance is right provided that you use a grid and it's open.


"Parry" - type abilities that allow you to add a bonus to monsters AC as a reaction have additional automation - the extension will tell you whether adding the bonus will deflect attack or not.

The extension can detect and process not only simple triggers like “this creature is hit” but also “third-party” triggers like “a creature starts its turn near the monster” or “monster’s ally is killed”. Specifically, it can detect:

  • An attack on the monster is made and hits or misses (attack type, melee or ranged is also recognized). There are many recognized formulas:

    • "when a creature within X feet (hits | misses | targets) (monster_name | it | him | her) with an (melee | ranged) attack";

    • "enemy hits the monster with an attack;

    • "a creature attacks the monster";

    • "a creature makes attack against the monster";

    • "if the monster is (hit | missed | targeted) with an (melee | ranged) attack";

    • "when hit by an attack, the monster doex X".

  • An attack on the allies of the monster hits or misses.

    • "(another creature | an ally) is (hit | missed | targeted) by an attack"

    • "a creature (hits | misses | targets) an ally with an attack"

  • The monster takes damage [of type X]

    • "the monster_name is damaged by an attack"

    • "the monster takes (damage_type) damage"

    • "the monster is subjected to (type) damage"

    • "enemy deals damage to the monster"

    • "the monster is dealt damage"

  • The monster is bloodied

    • "when the monster_name is first bloodied" or "when first bloodied, the monster_name".

    • "when reduced to half (of its) hit points"

  • The monster dies.

    • "the monster_name dies"

    • "the monster is reduced to 0 hit points"

    • "a creature reduces the monster to 0 hit points"

    • "the monster drops to 0 hit points"

  • An ally takes damage or an ally dies.

    • Similar phrases as for monster itself usually prepended with "another/other creature".

  • Monster kills a creature.

    • "the monster (kills|reduces to 0 hit points)"

  • Creature casts spell:

    • "a creature (within X feet) of the monster casts a spell"

  • Creature starts its turn.

  • The monster or an ally fails a saving throw.

  • The monster suffers a crit.

    • Typical wording is "when a creature scores a critical hit against the monster_name" or "when the monster_name suffers a critical hit".

  • Monster fails an attack.

    • Typical wording is "when the monster_name fails an attack roll" or "monster_name misses with a(n) (melee|ranged) attack"

  • Creature regains hit points.

The exension currently cannot process:

  • Creature types, for example “a gnoll within 60 feet of the monster dies”, this creature type is not considered for triggering reactions (any creature that dies will trigger the reaction).
  • Movement. “When a creature within 30 feet of the monster moves…”. Such reactions cannot be detected in the current version.

Configuration options


Option name
Possible values
Description
Notification recipientseveryone | GM onlyWhen GM only is selected, players will not see the reaction prompts or warnings when a condition prevents a monster from reacting.
Report parsing resultson | off | NPC added onlyWhen turned on, the extension will output to the chat the reactions it detects for the NPC when it is added to CT and corresponding trigger conditions. These messages are always visible only to the GM. If the "NPC added only" option is selected, then you will not see messages when the extension parses all NPCs in that remained in CT from the previous session.
Select message formatReaction link | NPC link | Reaction text | offWhen turned off, no prompts will be sent. Other options are self-explanatory.
Warn if an effect prevents reactionon | offWhen turned on, messages will be sent to the chat if a reaction could be triggered, but an incapacitated condition prevents the monster from reacting, of when the monster must see its target, but the target is invisible or the monster is blinded, or if the monster already spend its reaction (“reaction” checkbox is ticked on the monster record in the CT).
Notify for hidden tokens
on | off
When turned off, reaction notifications will not be triggered for hidden tokens.
Notify in hidden Combat Groups
on | offCompatibility option for "Combat Groups" extension. When turned off (default), no reaction notifications will be shown for combatants in hidden groups.

How does it work

After FG launches, the extension scans the Combat Tracker records and indexes the reactions in them. It happens only once and triggered the first time you either:

  • Click “Next Turn”

  • Add an NPC into the tracker

  • Make an attack

  • Force a saving throw

  • Deal damage

After that each NPC that is added to the tracker is scanned individually and added to the index. This index allows to detect situations in which a creature other than targeted by the players can react. When an NPC is removed from the tracker, its reactions are removed as well.



UUID f6bac3e4-8189-11ee-8c52-0050562be458