| Latest version | 14.1 |
|---|---|
| Minimum Core | 13 |
| Compatible Core | 14 |
| File size | 9 B |
| Last updated | 5 months ago |
| Created | 5 months ago |
| Authors |
|
| Languages |
|
| Systems |
Dnd5e |
| Project source | Project URL |
| License | License URL |
This module is a fork of foundryvtt-retroactive-advantage-5e by Andrew Krigline (ElfFriend-DnD), later maintained by Zhell (krbz999). Huge thanks to both for their foundational work — this module would not exist without them.
This module allows a user to retroactively change a d20 roll's advantage status directly from the chat card, without affecting any other module logic based on the original roll.

| Setting | Scope | Default | Description |
|---|---|---|---|
| Show Buttons on Hover | User | Off | When enabled, the advantage/disadvantage buttons are hidden until you hover over a chat message |
The following changes have been made in this fork relative to the krbz999 maintained version:
module.json) to declare compatibility with Foundry VTT V13 and V14 ("minimum": "13", "verified": "14")dnd5e.renderChatMessage hook (introduced in dnd5e 3.x+), which is the correct V13/V14 lifecycle hook for injecting chat card UIconfigureModifiers() on the new D20Roll instance, deferring advantage/disadvantage setup entirely to the system. A safe fallback is still included for older system versions1d20 before re-applying system modifiers, preventing stale kh/kl modifiers from accumulating across repeated button presses_evaluateModifiers()) is called to correctly activate/discard dice according to the new modeactor.system.traits.elvenAccuracy) and whether the roll targets an eligible ability (DEX, INT, WIS, or CHA)configureModifiers() is called with elvenAccuracy: true, which causes the dnd5e system to natively apply the adv2 modifier — rolling 3d20kh1 instead of 2d20kh1elvenAccuracy: true (i.e. it was an EA roll from the start), that flag is honoured directly without re-checking the actorfalse and normal advantage is applied insteadshowOnHover) that, when enabled, applies a hover-only CSS class to the button menuopacity and max-height with a 0.15s ease transition, avoiding layout jumps--dnd5e-color-hd-1, --dnd5e-color-hd-2) for the active/disabled state, blending naturally with the system's UI.dnd5e2.chat-card containers (system chat cards), with a fallback insertion before .dice-roll for other d20 roll messages| Software | Version |
|---|---|
| Foundry VTT | V13–V14 |
| dnd5e system | 4.2.2+ (5.x recommended) |
This module is released under the MIT License, in accordance with the original module's licensing terms.
Original copyright © 2022 Andrew Krigline (ElfFriend-DnD). See LICENSE for the full license text.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: niks-retroactive-advantage or copy its manifest URL:
And paste it to the input box at the bottom of your window.

You can install this package directly to your Forge account.