RnK : Fixed rights (introduced with strife modification)
This commit is contained in:
@@ -235,7 +235,8 @@ export class RollnKeepDialog extends FormApplication {
|
|||||||
return {
|
return {
|
||||||
...super.getData(options),
|
...super.getData(options),
|
||||||
isGM: game.user.isGM,
|
isGM: game.user.isGM,
|
||||||
showStrifeBt: rollData.summary.strife > 0 && rollData.actor?.isCharacter,
|
showChoices: options.editable && !rollData.rnkEnded,
|
||||||
|
showStrifeBt: options.editable && rollData.summary.strife > 0 && rollData.actor?.isCharacter,
|
||||||
cssClass: this.options.classes.join(" "),
|
cssClass: this.options.classes.join(" "),
|
||||||
data: this.object,
|
data: this.object,
|
||||||
l5r5e: rollData,
|
l5r5e: rollData,
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<section class="rnk-ct">
|
<section class="rnk-ct">
|
||||||
{{!-- Body --}}
|
{{!-- Body --}}
|
||||||
{{^if l5r5e.rnkEnded}}
|
{{#if showChoices}}
|
||||||
{{!-- Face Rings --}}
|
{{!-- Face Rings --}}
|
||||||
<fieldset class="dropbox swap">
|
<fieldset class="dropbox swap">
|
||||||
<legend class="section-header">
|
<legend class="section-header">
|
||||||
|
|||||||
Reference in New Issue
Block a user