mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +02:00
Fixed beastform basic attack being available
This commit is contained in:
parent
6cd19ada8a
commit
d813a732b0
1 changed files with 10 additions and 0 deletions
|
|
@ -208,6 +208,16 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
|
||||||
|
|
||||||
const rollOptions = [];
|
const rollOptions = [];
|
||||||
const damageRollOptions = [];
|
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 ?? []) {
|
for (const item of actor?.items ?? []) {
|
||||||
if (!item.system.metadata.hasActions) continue;
|
if (!item.system.metadata.hasActions) continue;
|
||||||
const actions = [...item.system.actions, ...(item.system.attack ? [item.system.attack] : [])];
|
const actions = [...item.system.actions, ...(item.system.attack ? [item.system.attack] : [])];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue