We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 898bf66 commit e804343Copy full SHA for e804343
module/documents/actor.mjs
@@ -159,7 +159,7 @@ export class BasicFantasyRPGActor extends Actor {
159
* Prepare character roll data.
160
*/
161
_getCharacterRollData(data) {
162
- if (this.system.type !== 'character') return;
+ if (this.type !== 'character') return;
163
164
// Copy the ability scores to the top level, so that rolls can use
165
// formulas like `@str.bonus + 4`.
@@ -179,7 +179,7 @@ export class BasicFantasyRPGActor extends Actor {
179
* Prepare NPC roll data.
180
181
_getMonsterRollData(data) {
182
- if (this.system.type !== 'monster') return;
+ if (this.type !== 'monster') return;
183
184
// Process additional NPC data here.
185
0 commit comments