by spoofer
Description
Shadowdark Spells in Focus
A collection of features for managing spellcasting and spell focus in Shadowdark.
Core Features
The following core features have been implemented:
- A Focus button has been added below the chat window. Spellcasting checks can be declared as focus checks before rolling by clicking the Focus button. If a focus spellcasting roll fails, the spell is not lost.
- When an NPC fails a spellcasting check rolled from the Combat Tracker, [Lost] is appended to the spell name.
- Resting restores spells for both PCs and NPCs.
- Successfully casting a focus spell adds a focus effect to the PC in the Combat Tracker. If a PC with a focus effect becomes unconscious, the focus effect is removed.
Combat Option: Automate Spell Focus Rolls
This extension adds a new combat option: Automate spell focus rolls. When this option is turned on:
- If a PC has a focus effect, a focus spellcasting check is automatically made at the start of that PC’s turn.
- If the check fails, the focus effect is removed.
- If the check is a critical failure, the focus effect is removed and the spell is lost.
- If a PC with a focus effect takes damage, a focus spellcasting check is automatically made.
- If the check fails, the focus effect is removed.
- If the check is a critical failure, the focus effect is removed and the spell is lost.
When this option is turned off:
- If a PC has a focus effect, a chat message reminds the PC to make a focus roll at the start of their turn.
- If a PC with a focus effect takes damage, a chat message reminds the PC to make a focus roll.
New Effects
focus — marks a PC as focusing on a spell
ADVFOCUS — grants advantage on focus checks
DISFOCUS — grants disadvantage on focus checks
FOCUS: x — modifies focus rolls by the value of x
UUID e9c3c7bc-6651-11f1-a411-0050562be458

