119 lines
3.2 KiB
HTML
119 lines
3.2 KiB
HTML
<div class="chat-message-header">
|
|
{{#if actorImg}}
|
|
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
|
{{/if}}
|
|
<h4 class=chat-actor-name>{{alias}}</h4>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
{{#if img}}
|
|
<div >
|
|
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="flexcol">
|
|
</div>
|
|
|
|
<div>
|
|
<ul>
|
|
{{#if save}}
|
|
<li>Save : {{save.label}} - {{save.value}}d6
|
|
({{#each roll.terms.0.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if ability}}
|
|
<li>Ability : {{ability.label}} - {{ability.value}}d6
|
|
({{#each roll.terms.0.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if skill}}
|
|
<li>Skill : {{skill.name}} - {{skill.data.level}}d8
|
|
{{#if featSL}}
|
|
- with Feat SL +{{featSL}}
|
|
{{/if}}
|
|
({{#each roll.terms.2.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if (eq advantage "advantage1")}}
|
|
<li>1 Advantage Die !
|
|
({{#each roll.terms.8.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
{{#if (eq advantage "advantage2")}}
|
|
<li>2 Advantage Dice !
|
|
({{#each roll.terms.8.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
{{#if (eq advantage "disadvantage1")}}
|
|
<li>1 Disadvantage Die !
|
|
({{#each roll.terms.10.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
{{#if (eq advantage "disadvantage2")}}
|
|
<li>2 Disadvantage Dice !
|
|
({{#each roll.terms.10.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
{{#if (eq rollAdvantage "roll-advantage")}}
|
|
<li>Roll with Advantage !</li>
|
|
{{/if}}
|
|
{{#if (eq rollAdvantage "roll-disadvantage")}}
|
|
<li>Roll with Disadvantage !</li>
|
|
{{/if}}
|
|
|
|
{{#if skillArmorPenalty}}
|
|
<li>Armor Penalty : {{skillArmorPenalty}} Disadvantage Dice
|
|
({{#each roll.terms.12.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if hasBonusDice}}
|
|
<li>Skill bonus dice : {{hasBonusDice}}
|
|
({{#each roll.terms.6.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if complexSkillDisadvantage}}
|
|
<li>Roll with Disadvantage because of Complex Skill at SL 0 !</li>
|
|
{{/if}}
|
|
|
|
{{#if hasFeatDie}}
|
|
<li>Feature Die : d10
|
|
({{#each roll.terms.4.results as |die idx|}}
|
|
{{die.result}}
|
|
{{/each}})
|
|
</li>
|
|
{{/if}}
|
|
|
|
<li><strong>Number of successes</strong> {{nbSuccess}} </li>
|
|
|
|
<!-- <button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button> -->
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|