mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
[Feature] Damage Reduction Rules (#574)
* More rules * Updated some cards with damageReduction * Fixed Endurance and HighStamina Features * More style improvements
This commit is contained in:
parent
6bdeccfbf9
commit
02a8a9c313
59 changed files with 640 additions and 245 deletions
|
|
@ -112,9 +112,9 @@ export default class DHItem extends foundry.documents.Item {
|
|||
* Generate a localized label array for this item.
|
||||
* @returns {(string | { value: string, icons: string[] })[]} An array of localized strings and damage label objects.
|
||||
*/
|
||||
getLabels() {
|
||||
_getLabels() {
|
||||
const labels = [];
|
||||
if (this.system.getLabels) labels.push(...this.system.getLabels());
|
||||
if (this.system._getLabels) labels.push(...this.system._getLabels());
|
||||
return labels;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue