mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[Bug] Companion Trait Useage (#357)
* Removed trait useage for companion attack * Fixes companion attack.roll.bonus * More fixes * Corrected companion resource change on duality * . * Added Dead/Unconcious
This commit is contained in:
parent
f2176c6238
commit
5635bcaf7b
7 changed files with 36 additions and 25 deletions
|
|
@ -407,7 +407,8 @@ export default class DhCharacter extends BaseDataActor {
|
|||
}
|
||||
|
||||
prepareDerivedData() {
|
||||
this.resources.hope.value = Math.min(this.resources.hope.value, this.resources.hope.max);
|
||||
const baseHope = this.resources.hope.value + (this.companion?.system?.resources?.hope ?? 0);
|
||||
this.resources.hope.value = Math.min(baseHope, this.resources.hope.max);
|
||||
}
|
||||
|
||||
getRollData() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue