Enable PNJ

This commit is contained in:
2025-03-01 19:42:15 +01:00
parent 761f95d6d9
commit b6016742ae
46 changed files with 138 additions and 152 deletions

View File

@ -34,7 +34,7 @@ export class TeDeumActor extends Actor {
return actor;
}
if (data.type == 'pj') {
if (data.type == 'pj' || data.type == 'pnj') {
const skills = await TeDeumUtility.loadCompendium("fvtt-te-deum.competences")
data.items = data.items || []
for (let skill of skills) {