Latest version | 2.3.3 |
---|---|
Minimum Core | |
Compatible Core | |
Last updated | 4 weeks ago |
Created | 7 months ago |
Authors |
|
Languages |
English Français |
Systems |
Pf2e |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
This module integrates and automates the Hero Deck actions into the PF2e system.
It adds a new section in the Actions tab of the character sheet where a player can Draw, Discard or Use Hero Actions in concert with the regular Hero Points.
It works as follow:
By default, characters will draw randomly from a Hero Action table without regard for which actions have already been drawn before.
If you want to have an unique action pool from which the actions are "removed" on draw until the pool is emptied (at which point, the pool will be refilled), you need to have a physical Table in your world.
Simply import the table from the compendium and uncheck the Draw With Replacement? option.
You can also have your own Hero Actions and table to draw them, to do so, you will need valid journal entries (in your world or in a compendium) and a table used to draw them.
Because the module cannot infer which table you are using in the case of a custom table, you will need to provide its UUID manually in the settings, to do so, open your table and Right-Click on the 📔 next to its name in the title bar, this will copy its UUID to your clipboard.
Characters can trade `Hero Action` between each others.
If the initiating player is the owner of both characters (or is the GM), the trade will automatically be accepted.
The owner of the character traded with will receive a request popup and can accept or refuse the deal offered. If the player is not online, the GM will receive the request instead.
A macro has been added to the compendium to help you setup up your table.
You will be prompted with the option to create a Default or Custom table and if this table should or not use the Unique Draw feature.
When using that macro, the table will be created into your world with an obvious name and its UUID will also automatically be added to the settings.
A macro has been added to the compendium to help you remove all the actions present on the Characters of your world.
You will be prompted with the list of the Characters from whom you want the actions to be removed.
A set of functions is exposed from the module to be used by third parties:
/**
* Retrieves the API object containing the funtions
*/
game.modules.get('pf2e-hero-actions').api
/**
* @param {CharacterPF2e} actor
* @returns {Array<{ uuid: string; name: string }>} the actions on the actor
*/
function getHeroActions: (actor: CharacterPF2e) => Array<{ uuid: string; name: string }>
/**
* Will consume a hero point and remove the action from the actor
* Displaying a ChatMessage with the details
*
* @param {CharacterPF2e} actor
* @param {string} uuid of the action
*/
function useHeroAction: (actor: CharacterPF2e, uuid: string) => Promise<void>
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: pf2e-hero-actions 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.