Latest version | 11.1.1 |
---|---|
Minimum Core | 11 |
Compatible Core | 11 |
Last updated | 1 year ago |
Created | 2 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.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.