July 27, 2025
๐งจ The Trap Goes Off
Description: This macro generates a vivid, randomised trap effect and sends it to chat. It combines random distance, damage, type, and save mechanics into a ready-to-use message. Sample Output:
The trap goes off and all within 15ft take [[/damage 3d6 acid]], [[/save dex 15]] to dodge out of the worst of it.
Key Features:
- ๐ฏ Randomised distance: Weighted from 5ft to 20ft
- ๐ฒ Damage dice: 1d6 to 4d6, skewed toward lower rolls
- ๐ฅ Damage types: Covers all 13 standard 5e types
- ๐ก๏ธ Mitigation text: 1-in-5 chance of โno escape,โ otherwise a variety of dex saves
- ๐ฌ Chat output: Uses ChatMessage.create() with inline enrichers
Use This For:
- Traps triggered in dungeons
- Magical wards or glyphs
- Sudden hazard effects (e.g. exploding barrels)
Foundry Tags: GM Utility, Trap, Hazard, Automation
Module Name: The Trap Goes Off
Have questions? Email me.