PwQt / magic-items-2

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.
https://github.com/PwQt/magic-items-2
MIT License
18 stars 7 forks source link

[Feature Request] Item ID Amount is counted down, Rather then having Item ID Removed #76

Closed pontusedberg closed 3 months ago

pontusedberg commented 7 months ago

I like to have an item, that once used, its destroyed However, I would also like to have more then one of the same Item (With the same ID)

Instead of just destroying the Item by ID, would it be possible to just have a check sum counter? something along of

"if Item ID > 1 Then remove 1 If ItemID =< 0 Then Remove ItemID "

Homebrew item in question, wich require this feature.

"Shards of crystal containing the raw essence of magic, once shattered with the palm of your hand it unleases the magic trapped within— A wizard may not be able to replicate or learn the magic contained within theeese gems, as it is raw, untapped magic rather than anything written down.

A SpellShard can contain one spell from any class's spell list. You become aware of the spell and its properties when you touch the gem. While holding the gem, you can cast the spell from the gem as an action as if it was part of your Class spell list, Doing so doesn‘t require any components and doesn't require an attunement. The shard is then shattered."