Fixed logic

This commit is contained in:
WBHarry 2025-07-16 16:38:10 +02:00
parent f33dc8c4af
commit ea708e85e2
7 changed files with 20 additions and 11 deletions

View file

@ -125,7 +125,9 @@ export default class DhpAdversary extends BaseDataActor {
await this.parent.createEmbeddedDocuments('ActiveEffect', [
{
name: game.i18n.localize('DAGGERHEART.CONFIG.AdversaryType.horde.label'),
img: 'icons/magic/movement/chevrons-down-yellow.webp'
img: 'icons/magic/movement/chevrons-down-yellow.webp',
disabled: !game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation)
.hordeDamage
}
]);
} else if (raisedAboveHalf) {