PwQt/magic-items-2

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

Closed this issue · 0 comments

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."