Latest version | 1.12.0 |
---|---|
Minimum Core | 9 |
Compatible Core | 9 |
Last updated | 2 weeks ago |
Created | 1 year ago |
Authors | |
Languages |
English |
Systems |
Dnd5e |
Dependencies |
DnD5e |
Project source | Project URL |
This module provide various bits of functionality to help automate the Wild Magic Surge
feat.
Ensure your Player Character has the Wild Magic Surge
feat added to the character sheet. It will not run on any characters that do not have this set.
When they cast a spell at Level 1 or higher it will trigger the check for a surge based on your options selected from the settings. All options are explained below.
1
for a Surge to a maximum of 10
. Once triggered the threshold is reset back to 1
.
Barbarian - Path of Wild Magic - Tasha's Cauldron of Everything: When you enter a Rage as a Wild Magic Barbarian, the module will auto roll on a table. Must enable Enable Auto Roll on a Wild Magic Surge Table
to work. Specify a custom table (TCOE table not included).
Also
Wild Magic Surge
featTides of Chaos
auto recharge1d20
and a roll of 1
Dice So Nice
integration if the module is enabled
I have added in hooks for the following events. This allows other developers or macro users to listen for events from the result of a Wild Magic Surge and add their own custom scripts.
Example
Hooks.on("wild-magic-surge-5e.DieDescendingChanged", (diceFormula) => {
console.log('The current dice being rolled is {diceFormula}')
});
Runs when you set the module to prompt you when a spell is used by a PC with the Wild Magic Feat. Returns true
.
Example
Hooks.on("wild-magic-surge-5e.IncrementalCheckChanged", (num) => {
console.log('The current charge value is {num}')
});
Runs when you set the module to prompt you when a spell is used by a PC with the Wild Magic Feat. Returns true
.
Example
Hooks.on("wild-magic-surge-5e.CheckForSurge", () => {
console.log('I must prompt to get them to roll a d20!')
});
Runs when you set the module to prompt you when a spell is used by a PC with the Wild Magic Feat. Returns true
.
Example
Hooks.on("wild-magic-surge-5e.IsWildMagicSurge", (isWildMagicSurge) => {
console.log(isWildMagicSurge)
});
Runs when you set the module to auto roll a check for you. The result of the roll will trigger this hook and return whether it is a surge and the roll value.
true
= The PC has triggered a Wild Magic Surge
{
surge: true,
result: 1,
}
false
= The PC has not triggered a Wild Magic Surge
{
surge: false,
result: 12,
}
To view your count on your token, set the following flag flags.wild-magic-surge-5e.surge_increment_resource
to be tracked.
Choose between the following options
1
for a Surge to a maximum of 10
. Once triggered the threshold is reset back to 1
.Whisper all message to the GM in case you want to be nice and fudge the rolls.
The additional option Auto Roll for a Wild Magic Surge instead of just the prompt
will auto roll in the background for you and post the result in the Chat.
Based on your settings, it will show a prompt that a Wild Magic Surge
has occured or not.
This message is configurable should you wish.
When enabled, each time a incremental check for a surge changes it is posted to Chat for others to see.
This option takes things a step further and will roll a Roll Table on a Wild Magic Surge
.
You can configure a Custom Roll Table by replacing the default name in the settings with your own version.
Another option allows you to recharge Tides of Chaos
automatically on a Wild Magic Surge
.
Set a custom dice formula you want to roll to check for a Wild Magic Surge
. The default is 1d20
.
What is the dice roll result you want to check against. The default is 1
.
Can also set multiple target results using a comma seperated value list like 1, 3, 5, 10, 19
Based on the target dice roll, should the result be less/greater than or equal to the result to trigger the Wild Magic Surge
. The default is =
.
Adds the ability to set your own roll evaluation dependent on the spell level used.
For example
Special thanks to Jackolas126 for this suggestion.
The RegEx to differentiate between sorcerer spells and non sorcerer spells. This assumes the sorcerer spells to be renamed like Magic Missile (S)
. Special characters must be escaped!
Special thanks to Jakob Huber for this suggestion and Pull Request.
Please report any issues you find to the github issues repo, I will aim to get to them as soon as possible! https://github.com/johnnolan/wild-magic-surge-5e/issues
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: wild-magic-surge-5e 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.