This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-warhero/modules/warhero-npc-sheet.js

26 lines
791 B
JavaScript
Raw Permalink Normal View History

2023-01-04 21:24:56 +01:00
/**
* Extend the basic ActorSheet with some very simple modifications
* @extends {ActorSheet}
*/
2023-02-08 21:19:53 +01:00
import { WarheroActorSheet } from "./warhero-actor-sheet.js";
2023-01-04 22:09:09 +01:00
import { WarheroUtility } from "./warhero-utility.js";
2023-01-04 21:24:56 +01:00
/* -------------------------------------------- */
2023-02-08 21:19:53 +01:00
export class WarheroNPCSheet extends WarheroActorSheet {
2023-01-04 21:24:56 +01:00
/** @override */
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
2023-01-04 22:09:09 +01:00
classes: ["warhero-rpg", "sheet", "actor"],
2023-02-08 21:19:53 +01:00
template: "systems/fvtt-warhero/templates/monster-sheet.html",
2023-01-04 21:24:56 +01:00
width: 640,
height: 720,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }],
dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }],
editScore: true
});
}
}