RC-37 | Abilities | Move & Run Display
This commit is contained in:
parent
7095d0d3f8
commit
a9cc3244df
4 changed files with 60 additions and 6 deletions
|
|
@ -48,6 +48,7 @@ export class HeroSummaryCardV1 extends HandlebarsApplicationMixin(ActorSheetV2)
|
|||
|
||||
ctx = await this.prepareFatePath(ctx);
|
||||
ctx = await this.prepareAbilityRow(ctx);
|
||||
ctx = await this.prepareSpeed(ctx);
|
||||
|
||||
partId = partId.slice(0,1).toUpperCase() + partId.slice(1);
|
||||
if (this[`_prepare${partId}Context`] != null) {
|
||||
|
|
@ -84,6 +85,11 @@ export class HeroSummaryCardV1 extends HandlebarsApplicationMixin(ActorSheetV2)
|
|||
};
|
||||
return ctx;
|
||||
};
|
||||
|
||||
async prepareSpeed(ctx) {
|
||||
ctx.speed = ctx.actor.system.speed;
|
||||
return ctx;
|
||||
};
|
||||
// #endregion
|
||||
|
||||
// #region Actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue