mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
REFACTOR: remove unused methods
REFACTOR: simplify CharacterSheet's click actions methods REFACTOR: minor fix on DHActor class
This commit is contained in:
parent
af32b8f1b4
commit
72e6bf055c
9 changed files with 186 additions and 422 deletions
|
|
@ -4,7 +4,7 @@ import DamageReductionDialog from '../applications/dialogs/damageReductionDialog
|
|||
import { LevelOptionType } from '../data/levelTier.mjs';
|
||||
import DHFeature from '../data/item/feature.mjs';
|
||||
|
||||
export default class DhpActor extends Actor {
|
||||
export default class DhpActor extends foundry.documents.Actor {
|
||||
|
||||
/**
|
||||
* Whether this actor is an NPC.
|
||||
|
|
@ -14,7 +14,6 @@ export default class DhpActor extends Actor {
|
|||
return this.system.constructor.metadata.isNPC;
|
||||
}
|
||||
|
||||
|
||||
async _preCreate(data, options, user) {
|
||||
if ((await super._preCreate(data, options, user)) === false) return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue