mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Fix Adversary attack multiplier
This commit is contained in:
parent
e1dd59454c
commit
b7b4722f7c
10 changed files with 36 additions and 80 deletions
|
|
@ -265,7 +265,8 @@ export default class DhpActor extends Actor {
|
|||
* @param {object} [config.costs]
|
||||
*/
|
||||
async diceRoll(config, action) {
|
||||
config.source = {...(config.source ?? {}), actor: this._id};
|
||||
// config.source = {...(config.source ?? {}), actor: this._id};
|
||||
config.source = {...(config.source ?? {}), actor: this.uuid};
|
||||
config.data = this.getRollData()
|
||||
const roll = await CONFIG.Dice.daggerheart[this.type === 'character' ? 'DualityRoll' : 'D20Roll'].build(config)
|
||||
return config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue