| Latest version | 11.1.1 |
|---|---|
| Minimum Core | 11 |
| Compatible Core | 11 |
| File size | 9 B |
| Last updated | 2 years ago |
| Created | 4 years ago |
| Authors |
|
| Languages |
Deutsch English |
| Systems |
Dnd5e |
| Project source | Project URL |
This module is for dnd5e for triggering destruction of items as well as special events for some rare magic items that would regain limited uses on a roll of a die when they reach 0 charges.
Magic items can be prompted to be destroyed when they reach zero charges.
Some rare items have a special property when they reach zero charges where they do not roll to be destroyed but rather roll a d20 (or any other die) and then recover limited uses by some formula. This is supported by this module.
These asynchronous functions are found in game.dicerecharge.
.rechargeItem(item, {formula, scale}): recharges an item using its recovery formula (item.system.uses.recovery), which can be overridden or scaled up..rechargeItems(actor, {scale}): recharges all the actor's items using their recovery formulas..nullifyItems(actor): removes all limited uses from all items on the actor. This may trigger destruction or special properties..maximizeItems(actor): sets all limited uses on all items on the actor to their maximum values.To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: dicerecharge or copy its manifest URL:
And paste it to the input box at the bottom of your window.

You can install this package directly to your Forge account.