prepareData() {
    super.prepareData();

    const actorData = this.data;
    const data = actorData.data;
    const flags = actorData.flags;

    // Make separate methods for each Actor type (character, npc, etc.) to keep
    // things organized.
    if (actorData.type === 'character') this._prepareCharacterData(actorData);
    if (actorData.type === 'pokemon') this._preparePokemonData(actorData);
  }
/**
   * Augment the basic actor data with additional dynamic data.
   */
Augment the basic actor data with additional dynamic data.
Augment the basic actor data with additional dynamic data .
prepareData() {
    super.prepareData();
    const actorData = this.data;
    const data = actorData.data;
    const flags = actorData.flags;
    if (actorData.type === 'character') this._prepareCharacterData(actorData);
    if (actorData.type === 'pokemon') this._preparePokemonData(actorData);
  }
prepareData ( ) { super . prepareData ( ) ; const actorData = this . data ; const data = actorData . data ; const flags = actorData . flags ; if ( actorData . type === 'character' ) this . _prepareCharacterData ( actorData ) ; if ( actorData . type === 'pokemon' ) this . _preparePokemonData ( actorData ) ; }
Augment the basic actor data with additional dynamic data.
Augment the basic actor data with additional dynamic data .
// Make separate methods for each Actor type (character, npc, etc.) to keep // things organized.