PwQt/magic-items-2

[BUG] Spells appear only on PCs sheets, but not on NPCs

Closed this issue · 2 comments

Module Version: v4.1.2.1

Describe the bug
Spells do not appear if item, scroll, wand is equipped by an NPC

To Reproduce
Steps to reproduce the behavior:

  1. Create two new actors. Set their type to PC and NPC.
  2. Create any of: wand, staff, scroll, go to 'Magic Item' tab and set to True: 'Is a Magic Item?', 'Activation Options - Equipped', 'Max Number of Charges - 1 On Item', 'Destroy Item At 0 Charges - True, Always, Just Destroy'. Drag and drop any spell you like.
  3. Give created item to both PC and NPC.
  4. Equip the item by both actors and go to 'Spells' tab
  5. See the spell added by magic item on PCs sheet, but not on NPCs sheet

Expected behavior
Spells added via Magic Items should be added to both PCs and NPCs

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Browser:

  • Foundry Lightweight Client

Foundry Version:
11.315

Game System:
D&D5e 3.1.2

Additional context
Add any other context (like other modules installed) about the problem here.
Tidy5e Sheets 3.3.0

PwQt commented

Is this still reproduceable? I can't reproduce that on classic and in Tidy5e.

Does the spell disappear whenever you remove an item?

Also your spell also required Attuned on the item

PwQt commented

Cannot reproduce