fvtt-crucible-rpg/templates/chat-generic-result.html

119 lines
3.2 KiB
HTML
Raw Normal View History

2022-07-19 23:16:03 +02:00
<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>
2022-08-03 09:34:33 +02:00
{{#if save}}
<li>Save : {{save.label}} - {{save.value}}d6
({{#each roll.terms.0.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
{{/if}}
2022-07-25 21:33:00 +02:00
{{#if ability}}
2022-08-02 23:33:43 +02:00
<li>Ability : {{ability.label}} - {{ability.value}}d6
({{#each roll.terms.0.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-19 23:16:03 +02:00
{{/if}}
2022-08-03 09:34:33 +02:00
2022-07-25 21:33:00 +02:00
{{#if skill}}
2022-07-30 22:54:08 +02:00
<li>Skill : {{skill.name}} - {{skill.data.level}}d8
{{#if featSL}}
- with Feat SL +{{featSL}}
{{/if}}
2022-08-02 23:33:43 +02:00
&nbsp;({{#each roll.terms.2.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
2022-07-30 22:54:08 +02:00
</li>
2022-07-19 23:16:03 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
{{#if (eq advantage "advantage1")}}
2022-08-02 23:33:43 +02:00
<li>1 Advantage Die !
&nbsp;({{#each roll.terms.8.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-31 19:32:54 +02:00
{{/if}}
{{#if (eq advantage "advantage2")}}
2022-08-02 23:33:43 +02:00
<li>2 Advantage Dice !
&nbsp;({{#each roll.terms.8.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-31 19:32:54 +02:00
{{/if}}
{{#if (eq advantage "disadvantage1")}}
2022-08-02 23:33:43 +02:00
<li>1 Disadvantage Die !
&nbsp;({{#each roll.terms.10.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-30 22:54:08 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
{{#if (eq advantage "disadvantage2")}}
2022-08-02 23:33:43 +02:00
<li>2 Disadvantage Dice !
&nbsp;({{#each roll.terms.10.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-30 22:54:08 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
{{#if (eq rollAdvantage "roll-advantage")}}
<li>Roll with Advantage !</li>
{{/if}}
{{#if (eq rollAdvantage "roll-disadvantage")}}
<li>Roll with Disadvantage !</li>
{{/if}}
2022-08-01 21:39:17 +02:00
{{#if skillArmorPenalty}}
2022-08-02 23:33:43 +02:00
<li>Armor Penalty : {{skillArmorPenalty}} Disadvantage Dice
&nbsp;({{#each roll.terms.12.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-08-01 21:39:17 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
2022-08-01 21:39:17 +02:00
{{#if hasBonusDice}}
2022-08-02 23:33:43 +02:00
<li>Skill bonus dice : {{hasBonusDice}}
&nbsp;({{#each roll.terms.6.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-08-01 21:39:17 +02:00
{{/if}}
2022-07-31 19:48:23 +02:00
{{#if complexSkillDisadvantage}}
<li>Roll with Disadvantage because of Complex Skill at SL 0 !</li>
{{/if}}
2022-08-03 09:34:33 +02:00
{{#if hasFeatDie}}
<li>Feature Die : d10
2022-08-02 23:33:43 +02:00
&nbsp;({{#each roll.terms.4.results as |die idx|}}
{{die.result}}&nbsp;
{{/each}})
</li>
2022-07-30 22:54:08 +02:00
{{/if}}
2022-07-25 21:33:00 +02:00
<li><strong>Number of successes</strong> {{nbSuccess}} </li>
2022-07-19 23:16:03 +02:00
2022-07-25 21:33:00 +02:00
<!-- <button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button> -->
2022-07-19 23:16:03 +02:00
</ul>
</div>
</div>