This module for Foundry VTT and specific for the DnD5e system, adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.
Fork of Magic Items, since it seems like the original author's inactive.
To install, follow these instructions:
- Inside Foundry, select the Game Modules tab in the Configuration and Setup menu.
- Click the Install Module button and enter the following URL: https://github.com/PwQt/magic-items-2/releases/latest/download/module.json
- Click Install and wait for installation to complete.
Once activated, a new tab named 'Magic Item' will be available for each items of type 'weapon', 'equipment' or 'consumable'.
In this tab, you can drag spells from a compendium and configure its consumption which will be subtracted from the total number of charges each time the spell is used.
It is also possible to configure the max number of charges, if they can be can be recharged and when, and if the item will be destroyed when the charges reach 0.
Using combinations of these parameters is possible to create, for example:
- A legendary staff equipped with great thaumaturgical spells
- A globe with a perennial light spell.
- A scroll with a powerful necromantic spell that dissolves once pronounced.
In addition to spells, it is also possible to assign feats to the items, or combinations of both:
When a character is equipped with one or more magical objects, within his sheet in the spellbook/features section, a set of inherited spells/feats divided by item will be displayed after his owned items:
From here you can cast spells or use feats provided by the items and monitor the consumption/recharges.
Tested with Tidy5e Sheet 0.8.41.
The following are added to window.MagicItems
to facilitate custom sheet integration:
bindCharacterSheet
bindItemSheet
To implement Magic Items within a character sheet, do this:
Hooks.on(`renderMyCoolCharacterSheet`, (app, html, data) => {
if (window.MagicItems && window.MagicItems.bindCharacterSheet) {
window.MagicItems.bindCharacterSheet(app, html, data);
}
});
To implement Magic Items within an item sheet, do this:
Hooks.on(`renderMyCoolItemSheet`, (app, html, data) => {
if (window.MagicItems && window.MagicItems.bindItemSheet) {
window.MagicItems.bindItemSheet(app, html, data);
}
});
Every suggestions/feedback are appreciated.
This is a fork of Magic Items module created by Simone found at this address.
Magic Items is a module for Foundry VTT by Simone and is licensed under a Creative Commons Attribution 4.0 International License.
Magic Items 2 is a module for Foundry VTT by PwQt and is licensed under MIT License.
This work is licensed under Foundry Virtual Tabletop EULA.