feat: add resource automatic cost modification on attack or action

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
This commit is contained in:
Gergely Brautigam 2026-07-04 12:25:16 +02:00
parent eccab6ad64
commit e9e8d2bd59
No known key found for this signature in database
GPG key ID: 3763870D61A6E2CA
7 changed files with 25 additions and 4 deletions

View file

@ -160,7 +160,7 @@ export default class DHActionBaseConfig extends DaggerheartSheet(ApplicationV2)
context.allDamageTypesUsed = !getUnusedDamageTypes(this.action.damage.parts).length;
if (this.action.damage.hasOwnProperty('includeBase') && this.action.type === 'attack')
context.hasBaseDamage = !!this.action.parent.attack;
context.hasBaseDamage = !!this.action.parent.attack && !this.action.baseAction;
}
context.costOptions = this.getCostOptions();