mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Added DomainCard selection
This commit is contained in:
parent
07c533c82c
commit
66defbffce
18 changed files with 823 additions and 132 deletions
|
|
@ -45,6 +45,15 @@ export default class DhpActor extends Actor {
|
|||
}
|
||||
}
|
||||
|
||||
async levelUp(levelupData) {
|
||||
await this.actor.update({
|
||||
'system.levelData': {
|
||||
'level.current': this.system.levelData.level.changed,
|
||||
'selections': levelupData
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async diceRoll(modifier, shiftKey) {
|
||||
if (this.type === 'pc') {
|
||||
return await this.dualityRoll(modifier, shiftKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue