Update CSS/Look & feel
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import MournbladeCYD2ActorSheetV2 from "./base-actor-sheet.mjs";
|
||||
import { MournbladeCYD2Utility } from "../../mournblade-cyd2-utility.js";
|
||||
|
||||
export default class MournbladeCYD2CreatureSheet extends MournbladeCYD2ActorSheetV2 {
|
||||
|
||||
@@ -15,7 +16,7 @@ export default class MournbladeCYD2CreatureSheet extends MournbladeCYD2ActorShee
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
sheet: {
|
||||
template: "systems/fvtt-mournblade-cyd2/templates/creature-sheet.hbs",
|
||||
template: "systems/fvtt-mournblade-cyd-2-0/templates/creature-sheet.hbs",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -28,6 +29,7 @@ export default class MournbladeCYD2CreatureSheet extends MournbladeCYD2ActorShee
|
||||
const actor = this.document;
|
||||
|
||||
context.skills = actor.getSkills?.() ?? [];
|
||||
context.combativiteList = MournbladeCYD2Utility.getCombativiteList(actor.system.sante?.nbcombativite || 0);
|
||||
context.armes = foundry.utils.duplicate(actor.getWeapons?.() ?? []);
|
||||
context.protections = foundry.utils.duplicate(actor.getArmors?.() ?? []);
|
||||
context.runes = foundry.utils.duplicate(actor.getRunes?.() ?? []);
|
||||
|
||||
Reference in New Issue
Block a user