A small module for Foundry and Dnd5e which uses dnd5e system Hooks to add the correct config options for Rolls, trying to automate the most common Dnd5e Conditions.
Rolling with Core, will indicate the correct button to press, on Attack Rolls, Damage Rolls, Saving Throws, Ability Checks and Skill Checks, according to the 5e ruleset. Fast Forwarding the rolls (holding SHIFT) will roll with advantage/disadvantage or when needed critical damage correctly.
Blinded
: Disadvantage on attacks and grants advantage to attack from othersExhaustion 1
: Disadvantage on ability checks (and skill checks as a result)Exhaustion 2
: no changesExhaustion 3
: Disadvantage on attacks and saving throwsExhaustion 4
: no changesExhaustion 5
: no changesFrightened
: Disadvantage on ability checks and attack rolls;Invisible
: Advantage on attacks and grants Disadvantage to attacks by othersParalyzed
: Auto fail (-99) strength/dexterity saves and attacker within 5ft of the creature deals critical damagePetrified
: Grants Advantage on attacks by others, auto fail strength/dexterity savesPoisoned
: Disadvantage on attacks and ability checksProne
: Disadvantage on attacks, grants advantage on attacks by others if within 5ft, otherwise grants disdvantageRestrained
: Disadvantage on attacks and dexterity saves, grants advantage on attacks by othersStunned
: Auto fail strength/dexterity saves, grants advantage on attacks by othersUnconscious
: Auto fails strength/dexterity saves, grants advantage on attacks by others, crit if hit within 5ft ++ Prone
Expanded Conditions
(default off)Dodging
: Attacker disadvantage if target not incapacitated, restrained and can see attacker (attacker doesn't have the Hiding condition). Also advantage on dex saves.Hiding
: Advantage on attacks.
Armor automation
(default off)- Ability Checks, Saves and Attack Rolls for (STR || DEX) based rolls, if the Actor is not proficient in the equipped suit of Armor.
- Imposes disadvantage on Stealth checks when the relevant property of the Armor is selected.
- From dnd5e v3.1.2 onwards, any Equipment type Item can impose stealth disadvantage too, not only Armor.
Casting spells checks automation
(default Do nothing)- When rolling a spell item, checks for:
- Not being proficient in the equipped armor,
- Raging (or Rage) active effect,
- Silenced status and neither an active effect named Subtle Spell (localized), nor a
flags.automated-conditions-5e.subtleSpell | Override | 1
.
- If set to
Enforce
, if any of the above are true, spell's use will be disallowed. - If set to
Warn
, there will be just a warning toast instead. - If set to
Do nothing
, well why should it do something?! :D
- When rolling a spell item, checks for:
Range automation
(default off)- Attacking with a ranged weapon at long range imposes disadvantage on the roll (
Long Range
). - Attacking with a ranged weapon, when an enemy is adjacent, imposes disadvantage on the roll (
Nearby Foe
);- Added a separate setting for Nearby Foe (default off).
- Attacking with a ranged weapon at a distance longer than the long range, imposes a fail on the roll (
Out of Range
). - Crossbow Expert: Ignores Nearby Foes with
- A flag on the Actor
flags.automated-conditions-5e.crossbowExpert | Override | 1
or - An Item named
Crossbow Expert
.
- A flag on the Actor
- Sharpshooter: No disadvantage when shooting at long range with
- A flag on the Actor
flags.automated-conditions-5e.sharpShooter | Override | 1
or - An Item named
Sharpshooter
.
- A flag on the Actor
- Attacking with a ranged weapon at long range imposes disadvantage on the roll (
Show AC5e tooltips
for both Roll Dialog and Chat messages or any combination of these (default both)Exhaustion automation
(default on)- If you want to not automatically process Exhaustion conditions uncheck this. Doing so will allow for other exhaustion modules to alter exhaustion automation or your own rules (eg Alternative Exhaustion 5e).
Encumbrance automation
(default off)- Dnd5e v3.x system offers a setting for Encumbrance rules. If that is set to
Variant
, and you turn this AC5e setting on, ability checks, attack rolls, and saving throws that use Strength, Dexterity, or Constitution will have disadvantage.
- Dnd5e v3.x system offers a setting for Encumbrance rules. If that is set to
Targeting options
(default From source only)- When 0 or more than 1 targets are selected, AC5e will not be able by default to calculate correctly advantageMode/damageMode as this is done based on the first of the game.user.targets only. There is now a setting for the GM to decide how AC5e will deal with targeting and rolling an Attack or Damage, or try to Use an Item that has an attack and Target any of the Individual target options in its details tab. The options are as follows:
From Source Only
: The advantageMode/damageMode will be calculated based on effects/conditions etc on the Source actor only (default option),Do nothing
: No calculations whatsoever will take place,Enforce targeting
: Will cancel the incoming Roll or Item use, and display a warning for the user to target 1 Target (Use with caution).
- When 0 or more than 1 targets are selected, AC5e will not be able by default to calculate correctly advantageMode/damageMode as this is done based on the first of the game.user.targets only. There is now a setting for the GM to decide how AC5e will deal with targeting and rolling an Attack or Damage, or try to Use an Item that has an attack and Target any of the Individual target options in its details tab. The options are as follows:
- For D&D5e v3.1
- Added
dnd5e.preRollConcentration
hook to deal with conditions affecting concentration saving throws.- Exhaustion 3-5 applies disadvantage.
- Heavy Encumbrance applies disadvantage.
- War Caster named Item applies advantage.
- Added
- Core highlights the correct buttons to press depending on the conditions on attacker and target, and Fast Forwards correctly.
- MidiQOL (saves from items are a WIP).
- Ready Set Roll (AC5e tooltips on dual cards is a WIP).
- Roll Groups, not tested (seems to not have issues, open an issue if you encounter any).
- Special thanks to Illandril for using some of his code from Illandril's Token Tooltips for distance calculations.
https://github.com/thatlonelybugbear/automated-conditions-5e/releases/latest/download/module.json
https://raw.githubusercontent.com/thatlonelybugbear/automated-conditions-5e/dndv2/module.json