RC-72 | Step | Display & Input
This commit is contained in:
parent
cf3cb7357b
commit
e29c5a8cd0
4 changed files with 43 additions and 1 deletions
|
|
@ -66,9 +66,11 @@ export class HeroSummaryCardV1 extends GenericSheetMixin(HandlebarsApplicationMi
|
|||
static async prepareLevelData(ctx) {
|
||||
ctx.level = {
|
||||
glory: ctx.actor.system.level.glory,
|
||||
step: ctx.actor.system.level.step,
|
||||
};
|
||||
if (ctx.meta.limited) {
|
||||
ctx.level.glory = `?`;
|
||||
ctx.level.step = `?`;
|
||||
};
|
||||
return ctx;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue