RC-73 | Rank | Display & Input
This commit is contained in:
parent
6b88714bfc
commit
7256e9f53b
4 changed files with 40 additions and 1 deletions
|
|
@ -67,10 +67,15 @@ export class HeroSummaryCardV1 extends GenericSheetMixin(HandlebarsApplicationMi
|
|||
ctx.level = {
|
||||
glory: ctx.actor.system.level.glory,
|
||||
step: ctx.actor.system.level.step,
|
||||
rank: {
|
||||
selected: ctx.actor.system.level.rank,
|
||||
options: Object.values(gameTerms.Rank),
|
||||
},
|
||||
};
|
||||
if (ctx.meta.limited) {
|
||||
ctx.level.glory = `?`;
|
||||
ctx.level.step = `?`;
|
||||
ctx.level.rank.selected = `?`;
|
||||
};
|
||||
return ctx;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue