mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
Merged with main
This commit is contained in:
commit
83fb6c711e
1 changed files with 1 additions and 8 deletions
|
|
@ -88,14 +88,7 @@ export default class DHDomainCard extends BaseDataItem {
|
||||||
* @returns {(string | { value: string, icons: string[] })[]} An array of localized strings and damage label objects.
|
* @returns {(string | { value: string, icons: string[] })[]} An array of localized strings and damage label objects.
|
||||||
*/
|
*/
|
||||||
_getLabels() {
|
_getLabels() {
|
||||||
const labels = [
|
const labels = [];
|
||||||
,
|
|
||||||
this.domainLabel,
|
|
||||||
{
|
|
||||||
value: `${this.recallCost}`, //converts the number to a string
|
|
||||||
icons: ['fa-bolt']
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
if (this.type) labels.push(game.i18n.localize(`DAGGERHEART.CONFIG.DomainCardTypes.${this.type}`));
|
if (this.type) labels.push(game.i18n.localize(`DAGGERHEART.CONFIG.DomainCardTypes.${this.type}`));
|
||||||
if (this.domainLabel) labels.push(this.domainLabel);
|
if (this.domainLabel) labels.push(this.domainLabel);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue