mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[PR][Feature] Adversary Compendium Name Lookup (#1458)
* Exchanged all name references for @Lookup. Removed duplicated descriptions on feature actions. * Corrected action.description fallback
This commit is contained in:
parent
92b31b71a7
commit
2104549617
132 changed files with 672 additions and 669 deletions
|
|
@ -95,6 +95,9 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
prepareData() {
|
||||
this.name = this.name || game.i18n.localize(CONFIG.DH.ACTIONS.actionTypes[this.type].name);
|
||||
this.img = this.img ?? this.parent?.parent?.img;
|
||||
|
||||
/* Fallback to feature description */
|
||||
this.description = this.description || this.parent?.description;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue