Fixed bug that prevented NPCs power DCs from having values

This commit is contained in:
Jacob Lucas 2021-07-03 01:41:26 +01:00
parent b343a06ef6
commit 063d529f09

View file

@ -661,8 +661,8 @@ export default class Actor5e extends Actor {
*/
_computeDerivedPowercasting (actorData) {
if ((actorData.type === 'actor') || (actorData.type === 'npc')) return;
if (!(actorData.type === 'character' || actorData.type === 'npc')) return;
const ad = actorData.data;
// Powercasting DC for Actors and NPCs