update for inline roll [2ds+1d8]
This commit is contained in:
@@ -1,20 +1,41 @@
|
||||
<div class="dice-tooltip">
|
||||
{{#each parts}}
|
||||
<section class="tooltip-part">
|
||||
<div class="dice">
|
||||
<header class="part-header flexrow">
|
||||
<span class="part-formula">{{this.formula}}</span>
|
||||
{{#if this.flavor}}<span class="part-flavor">{{this.flavor}}</span>{{/if}} <span class="part-total">{{this.total}}</span>
|
||||
</header>
|
||||
<ol class="dice-rolls">
|
||||
{{#each this.rolls}}
|
||||
<li class="roll {{this.classes}}">{{{this.result}}}</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
<ol class="dice-rolls">
|
||||
<li class="roll">{{{addedResults.success}}}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</section>
|
||||
{{/each}}
|
||||
{{#each chatData.parts}}
|
||||
<section class="tooltip-part">
|
||||
<div class="dice">
|
||||
<header class="part-header flexrow">
|
||||
<span class="part-formula">{{this.formula}}</span>
|
||||
{{#if this.flavor}}<span class="part-flavor">{{this.flavor}}</span>{{/if}}
|
||||
{{#if this.isDieStd}}<span class="part-total">{{this.total}}</span>{{/if}}
|
||||
</header>
|
||||
<ol class="dice-rolls">
|
||||
{{#each this.rolls}}
|
||||
<li class="roll {{this.classes}}">{{{this.result}}}</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
<ol class="dice-rolls">
|
||||
<li class="roll">{{{addedResults.success}}}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</section>
|
||||
{{/each}}
|
||||
|
||||
{{#if chatData.l5r5e.dicesTypes.l5r}}
|
||||
{{#chatData.l5r5e.summary}}
|
||||
<ul>
|
||||
<li>Successes: {{this.success}}</li>
|
||||
|
||||
{{#if opportunity}}
|
||||
<li>Opportunities: {{this.opportunity}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if strife}}
|
||||
<li>Strife: {{this.strife}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if difficulty}}
|
||||
<li>Difficulty: {{this.difficulty}}</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{/chatData.l5r5e.summary}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user