Enhance rolls and fix dialog position

This commit is contained in:
2025-04-25 21:28:02 +02:00
parent 2ce5088471
commit 791a7d6b67
28 changed files with 122 additions and 249 deletions

View File

@ -3,6 +3,12 @@
<fieldSet class="">
<legend>{{localize (concat "LETHALFANTASY.Label." rollType)}} - {{actorName}}</legend>
{{#if rollTarget.tokenId}}
<div class="dialog-save">
<a class="goto-token-button" data-action="gotoToken" data-token-id="{{rollTarget.tokenId}}">{{localize "LETHALFANTASY.Label.gotoToken"}} </a>
</div>
{{/if}}
{{#if (match rollType "attack")}}
<div class="dialog-save">Attack roll ! - {{rollTarget.name}}</div>
{{/if}}
@ -87,4 +93,6 @@
{{selectOptions rollModes selected=visibility}}
</select>
</fieldSet>
</div>