kopparhavet/module/actors/actor.js

16 lines
385 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;
}
}