Register

SimpleCover5e

An Add-on Module for Foundry Virtual Tabletop

Author: Peterlankton Project Source Foundry Versions 13+ (Verified 13.350) Last Updated 17 hours, 27 minutes ago

This package contains art, text, or software code produced using generative AI.

Yes, partly for translations (documentation)

 

Summary

SimpleCover5e automatically evaluates cover for the DnD5e system in Foundry VTT during attack rolls and saving throws (multi-target supported). It applies the correct mechanical bonuses (+2 / +5) to the roll, updates chat/card displays, and sets/clears target status effects. The module also adds a custom Ignore Cover item property that you can enable on specific items (e.g., Sacred Flame) to bypass cover for that roll.

Currently supports square grids only.

How It Works

  • Uses the DMG-style “four lines” approach: pick an optimal attacker corner and conceptually trace to the target square’s four (inset) corners. Walls (sight) and creature volumes may block lines; tangents are allowed.
  • If 1–2 lines are blocked, the target gains Half Cover (+2 AC / +2 DEX save). If 3–4 lines are blocked (and the effect still reaches), the target gains Three-Quarters Cover (+5 AC / +5 DEX save).
  • Blocking tokens are treated as 3D prisms with default heights by creature size (see table below). Effects are pushed directly into the roll (chat target AC / save bonus) and synchronized with token status effects.
  • The module introduces an Ignore Cover item property. Add it to spells, weapons, or feats that should ignore cover (for example, Sacred Flame) and the cover calculation will be skipped for that roll.
Size Height (ft)
tiny 1
small 3
medium 6
large 12
huge 24
gargantuan 48

Settings

  • Cover Removal Scope — Choose which tokens are affected when cover is cleared: All Tokens on Scene, Combatants Only, or Player-Owned Tokens Only.
  • Clear Cover on Combat Updates — When rounds/turns/initiative change, remove cover according to the selected scope.
  • Clear Cover on Token Movement (Combat Only) — When a token moves during active combat, remove cover according to the selected scope.
  • Show Cover Debug Lines — Renders helper segments used during cover evaluation (GM only).

Notes & Limitations

  • Square grids only (no gridless or hex yet).
  • The Ignore Cover item property is added by this module and can be toggled per item.
  • Multi-target rolls are supported

Planned Features

  • Support for gridless and hexagonal maps
  • Configurable creature heights
  • Additional configuration options

Supported Game Systems

  1. Dungeons & Dragons Fifth Edition

    Latest Version: Version 5.1.10 Last Updated 4 weeks ago

Categories

Available Versions

  1. Version 0.1.0

    17 hours, 27 minutes ago
    Foundry Version 13+ (Verified 13.350) Manifest URL Read Notes