forked from GitHub-Mirrors/foundry-sw5e
Fixed bug that prevented NPCs power DCs from having values
This commit is contained in:
parent
b343a06ef6
commit
063d529f09
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue