***** NEWER VERSION HERE ***** Find the Code HERE! Easy copy and paste link Feature List Vital Character Stats: Displays the character's Spellcasting Ability, Spell Save DC, Spell Attack Bonus, and Maximum Prepared Spells at the top of the Spell Book. Spellcasting Ability is also a button. Clicking it displays all six ability scores, with the character's class and multiclass information shown beside the appropriate abilities. Selecting an ability changes the active Spellcasting Ability used by the Spell Book. Subclass Visualization: Displays a unique class or subclass icon in the Spell Book header. Complete Spell Management: The Spell Book normally displays prepared spells only. Click the arrow in the Cantrips header to open the character's full spell list. From the full list, spells can be prepared or unprepared directly from the Spell Book. Click the arrow again to return to the prepared spell list. Classes that do not use prepared spell selection, such as Warlocks, do not display the full-list toggle. Spell Slot Tracking: Each spell level header displays the character's remaining spell slots. Use the plus and minus buttons to manually adjust available slots. Several different spell slot icon styles are available in Settings. Pact Magic and Multiclass Support: Pact Magic slots are tracked separately from normal spell slots. If Pact Magic and normal spellcasting provide slots at the same spell level, the Spell Book displays a separate W slot row for the Warlock Pact Magic slots. Each slot pool has its own independent plus and minus controls. Detailed Spell Entries: Each spell entry can display the spell school icon, spell name, action type, concentration or ritual status, and the spell's Innate field. Action, Bonus Action, and Reaction markers can be enabled or disabled individually. Interactive Controls: Spell entries include the appropriate Cast button, prepare or unprepare control, and Spell Details button. The Cast button uses the Roll20 character sheet's normal spell roll where applicable. Native Roll20 Spell Details: The open-book button displays the spell using Roll20's native spell output rather than a custom tooltip. Spell Details can be toggled between public output and a self-whisper directly from the Spell Book. Custom Spell Macros & Spell Mule: A Spell Mule can be configured separately for each character from the Settings card. The Spell Mule is a normal Roll20 character containing Abilities used as custom spell overrides. Ability names should match the spell name with spaces replaced by hyphens. For example: Cure Wounds → Cure-Wounds. If a matching Ability is found, the Spell Book uses that Ability for the spell's Cast and Spell Details buttons instead of the normal Roll20 spell output. This allows complex or custom spell macros to be kept on one dedicated character instead of cluttering player character sheets. High-Speed Per-Character Cache: The Spell Book uses a split handout-based cache created separately for each character. Prepared spell lists are cached for fast loading, while full spell lists are built and stored by spell level. Full-list cache handouts are created only when they are actually needed. The cache automatically detects spell rows being added, removed, reordered, or having their preparation state changed. Only affected spell levels are rebuilt instead of rebuilding the entire Spell Book. The first time a large full spell list is opened, the Spell Book may display a short cache-building message. Later runs use the saved cache. Per-Character Settings: Spell Book settings are stored separately for each character. Changing themes, UI styles, colours, or slot styles does not require rebuilding the spell cache. Theming and Customization: The Spell Book includes twenty built-in book themes. The Spell Book UI theme can be selected independently from the book theme, and the Settings card also allows customization of: Spell colour Icon colour Action colour Bonus Action colour Reaction colour Action markers Spell slot style Spell Mule What doesn't this Mod Do? This Mod does not automatically deduct spell slots when a spell is cast. The main reason is custom spell macro compatibility. Many custom spell Mods and macros already handle spell slot deduction, and automatically deducting another slot from the Spell Book could result in slots being deducted twice. For now, spell slots are adjusted manually using the plus and minus controls in each spell level header. Automatic slot deduction may become an optional setting in the future. Installation Instructions Ensure that the ScriptCards Mod/API script is installed in your Roll20 game. Create a new Roll20 Macro or Character Ability. Copy the complete Spell Book Mod script into the Macro or Ability. If using a Character Ability, enable Show as Token Action . Select the caster's token and run the Spell Book. On first run for a character, the Spell Book automatically creates the cache handout it needs. Additional cache handouts are created later only if the character's spell levels require them. To configure a Spell Mule, open the Settings card and enter the exact name of the Spell Mule character. The Spell Book automatically detects normal spell-list and preparation changes. A Clear Cache button is also available in Settings if a manual rebuild is ever needed. Requirements Roll20 Pro with Mod/API access ScriptCards The official Roll20 D&D 5E 2014 character sheet Check out my profile for my other ScriptCard Mods.