mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fixed a lot of cases where we expected a combatant to have an attached actor
This commit is contained in:
parent
e6973fabd0
commit
b6c0b5b5e4
9 changed files with 41 additions and 17 deletions
|
|
@ -9,7 +9,7 @@ export const AdversaryBPPerEncounter = (adversaries, characters) => {
|
|||
);
|
||||
if (existingEntry) {
|
||||
existingEntry.nr += 1;
|
||||
} else {
|
||||
} else if (adversary.type) {
|
||||
acc.push({ adversary, nr: 1 });
|
||||
}
|
||||
return acc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue