mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 20:51:07 +01:00
Check item validity when creating on an actor
This commit is contained in:
parent
11fbb4cce8
commit
4aca29d6c2
5 changed files with 23 additions and 0 deletions
|
|
@ -108,6 +108,10 @@ export default class DhCompanion extends BaseDataActor {
|
|||
get proficiency() {
|
||||
return this.partner?.system?.proficiency ?? 1;
|
||||
}
|
||||
|
||||
isItemValid() {
|
||||
return false;
|
||||
}
|
||||
|
||||
prepareBaseData() {
|
||||
this.attack.roll.bonus = this.partner?.system?.spellcastModifier ?? 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue