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

75 lines
1.9 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-07-25 21:33:00 +02:00
{{#if ability}}
<li>Ability : {{ability.label}} - {{ability.value}}d6</li>
2022-07-19 23:16:03 +02:00
{{/if}}
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}}
</li>
2022-07-19 23:16:03 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
{{#if (eq advantage "advantage1")}}
<li>1 Advantage Die !</li>
{{/if}}
{{#if (eq advantage "advantage2")}}
<li>2 Advantage Dice !</li>
{{/if}}
{{#if (eq advantage "disadvantage1")}}
<li>1 Disadvantage Die !</li>
2022-07-30 22:54:08 +02:00
{{/if}}
2022-07-31 19:32:54 +02:00
{{#if (eq advantage "disadvantage2")}}
<li>2 Disadvantage Dice !</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}}
<li>Armor Penalty : {{skillArmorPenalty}} Disadvantage Dice </li>
{{/if}}
2022-07-31 19:32:54 +02:00
2022-08-01 21:39:17 +02:00
{{#if hasBonusDice}}
<li>Skill bonus dice : {{hasBonusDice}} </li>
{{/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-07-30 22:54:08 +02:00
{{#if (ne featDieName "none")}}
<li>Feature Die : d10 ({{featDieName}})</li>
{{/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>