Merged with main

This commit is contained in:
WBHarry 2025-07-25 01:14:41 +02:00
commit f0a809266d
70 changed files with 1245 additions and 881 deletions

View file

@ -9,7 +9,8 @@ export default class RegisterHandlebarsHelpers {
damageFormula: this.damageFormula,
damageSymbols: this.damageSymbols,
rollParsed: this.rollParsed,
hasProperty: foundry.utils.hasProperty
hasProperty: foundry.utils.hasProperty,
setVar: this.setVar
});
}
static add(a, b) {
@ -50,4 +51,8 @@ export default class RegisterHandlebarsHelpers {
const result = itemAbleRollParse(value, actor, item);
return isNumerical && !result ? 0 : result;
}
static setVar(name, value, context) {
this[name] = value;
}
}

View file

@ -96,7 +96,7 @@ export const tagifyElement = (element, options, onChange, tagifyOptions = {}) =>
mapValueTo: 'name',
searchKeys: ['name'],
enabled: 0,
maxItems: 20,
maxItems: 100,
closeOnSelect: true,
highlightFirst: false
},