mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[PR] [Feature] 590 - Daggerheart Menu (#1007)
* Added menu with refresh tools * Replaced menu icon
This commit is contained in:
parent
eefb28c312
commit
f1b6d3851d
53 changed files with 730 additions and 350 deletions
|
|
@ -7,7 +7,7 @@ export default class UsesField extends fields.SchemaField {
|
|||
* Action Workflow order
|
||||
*/
|
||||
static order = 160;
|
||||
|
||||
|
||||
/** @inheritDoc */
|
||||
constructor(options = {}, context = {}) {
|
||||
const usesFields = {
|
||||
|
|
@ -62,7 +62,7 @@ export default class UsesField extends fields.SchemaField {
|
|||
/**
|
||||
* Prepare Uses object for Action Workflow
|
||||
* Must be called within Action context.
|
||||
* @param {object} uses
|
||||
* @param {object} uses
|
||||
* @returns {object}
|
||||
*/
|
||||
static calcUses(uses) {
|
||||
|
|
@ -77,7 +77,7 @@ export default class UsesField extends fields.SchemaField {
|
|||
/**
|
||||
* Check if the Action still get atleast one unspent uses.
|
||||
* Must be called within Action context.
|
||||
* @param {*} uses
|
||||
* @param {*} uses
|
||||
* @returns {boolean}
|
||||
*/
|
||||
static hasUses(uses) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue