mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
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:
parent
eccab6ad64
commit
e9e8d2bd59
7 changed files with 25 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue