kopparhavet/module/actors/actor.js

18 lines
420 B
JavaScript

/**
* Extend the base Actor entity.
* @extends {Actor}
*/
export class ActorKH extends Actor {
/**
* Augment the basic actor data with additional dynamic data.
*/
prepareData() {
super.prepareData();
const actorData = this.data;
const data = actorData.data;
const flags = actorData.flags;
data.type = actorData.type;
console.log("ACTOR DATA")
}
}