mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Corrected 'NoToughies' conditional
This commit is contained in:
parent
d7bbc9e650
commit
54704c3cb2
1 changed files with 4 additions and 1 deletions
|
|
@ -129,7 +129,10 @@ export const BPModifiers = {
|
|||
automatic: true,
|
||||
conditional: (_combat, adversaries) => {
|
||||
const toughyTypes = ['bruiser', 'horde', 'leader', 'solo'];
|
||||
return !adversaries.some(adversary => toughyTypes.includes(adversary.system.type));
|
||||
return (
|
||||
adversaries.length > 0 &&
|
||||
!adversaries.some(adversary => toughyTypes.includes(adversary.system.type))
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue