This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
foundryvtt-beam-saber/templates/chat/vice-roll.html
anthonywaters 7feaf07420 Added additional dice roll types:
- Fortune
- Vice
- Gather Information
- Engagement
- Acquire Asset

Refactored simple roll logic and updated layout of simple roll dialog.

Fixed roll status of disadvantaged critical result.
2023-02-08 22:36:17 +11:00

35 lines
1.1 KiB
HTML

<div class="dice-tooltip blades-die-tooltip">
{{#if attribute_label}}<div class="chat-label label-stripe-chat">{{localize attribute_label}}</div>{{/if}}
{{#if (eq roll_status "failure")}}
<div class="die {{roll_status}}">{{localize "BITD.RollFailure"}}</div>
<div class="description">
<p>{{{localize "BITD.RollViceFailure" clear_stress=clear_stress}}}
<ul>
<li>{{{localize "BITD.RollViceFailureAttactTrouble"}}}</li>
<li>{{{localize "BITD.RollViceFailureBrag"}}}</li>
<li>{{{localize "BITD.RollViceFailureLost"}}}</li>
<li>{{{localize "BITD.RollViceFailureTapped"}}}</li>
</ul>
</p>
</div>
{{else}}
<div class="die success">{{localize "BITD.RollSuccess"}}</div>
<div class="description">
<p>{{{localize "BITD.RollVice" clear_stress=clear_stress}}}</p>
</div>
{{/if}}
{{#if note}}
<em>{{note}}</em>
{{/if}}
<ol class="dice-rolls">
{{#each this.rolls}}
{{#if this.result}}
<li class="roll die d6">{{{this.result}}}</li>
{{else}}
<li class="roll die d6">{{{this.roll}}}</li>
{{/if}}
{{/each}}
</ol>
</div>