mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Fixed beastform basic attack being available (#2072)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
This commit is contained in:
parent
e55ef9fd9e
commit
1e30ea42ba
1 changed files with 10 additions and 0 deletions
|
|
@ -208,6 +208,16 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
|
|||
|
||||
const rollOptions = [];
|
||||
const damageRollOptions = [];
|
||||
|
||||
if (actor?.system.usedUnarmed) {
|
||||
damageRollOptions.push({
|
||||
value: actor.system.attack.uuid,
|
||||
label: actor.system.usedUnarmed.name,
|
||||
group: actor.name,
|
||||
baseAction: actor.system.attack
|
||||
});
|
||||
}
|
||||
|
||||
for (const item of actor?.items ?? []) {
|
||||
if (!item.system.metadata.hasActions) continue;
|
||||
const actions = [...item.system.actions, ...(item.system.attack ? [item.system.attack] : [])];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue