fix: NPC sheet not being able to fetch roll data

This commit is contained in:
Joscha Maier
2024-09-27 23:11:01 +02:00
parent beb4322917
commit 2eac4210e6
2 changed files with 17 additions and 4 deletions

View File

@ -7,7 +7,7 @@ export class KidsOnBroomsActor extends Actor {
/**
* Override getRollData() that's supplied to rolls.
*/
getRollData() {
getRollDataPC() {
let data = { ...this.system };
// Wand bonuses
@ -18,6 +18,12 @@ export class KidsOnBroomsActor extends Actor {
return data;
}
getRollDataNPC() {
let data = { ...this.system};
return data;
}
_getWandBonus(type) {
const bonuses = {