mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
Impproved Adversary Sheet Data Display (#751)
* Impproved Adversary Sheet Data Display Fixes #604 * FIX: formula lables for attacks and weapons --------- Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
This commit is contained in:
parent
ae23696e40
commit
6f0f21c355
130 changed files with 496 additions and 311 deletions
|
|
@ -89,7 +89,7 @@ export default class DHDomainCard extends BaseDataItem {
|
|||
*/
|
||||
_getLabels() {
|
||||
const labels = [
|
||||
game.i18n.localize(`DAGGERHEART.CONFIG.DomainCardTypes.${this.type}`),
|
||||
,
|
||||
this.domainLabel,
|
||||
{
|
||||
value: `${this.recallCost}`, //converts the number to a string
|
||||
|
|
@ -97,6 +97,14 @@ export default class DHDomainCard extends BaseDataItem {
|
|||
}
|
||||
];
|
||||
|
||||
if (this.type) labels.push(game.i18n.localize(`DAGGERHEART.CONFIG.DomainCardTypes.${this.type}`));
|
||||
if (this.domainLabel) labels.push(this.domainLabel);
|
||||
if (this.recallCost) {
|
||||
labels.push({
|
||||
value: `${this.recallCost}`, //converts the number to a string
|
||||
icons: ['fa-bolt']
|
||||
});
|
||||
}
|
||||
return labels;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue