fvtt-rolemaster-frp/templates/chat/chat_dice_roll.html

146 lines
3.2 KiB
HTML

<div class="dice-roll">
<div class="dice-result">
Rolling for : {{name}}
</div>
{{#if weapon}}
<div class="dice-result">
With Weapon : {{weapon.name}}
</div>
{{/if}}
{{#if highopen }}
<div class=dice-result>
Rolled over 95 - High Open-Ended!
</div>
{{/if}}
{{#if lowopen }}
<div class=dice-result>
Rolled under 6 - Low Open-Ended!
</div>
{{/if}}
{{#if difficulty}}
<div class=dice-result>
Difficulty : {{difficulty}}
</div>
{{/if}}
{{#if combatSituation}}
<div class=dice-result>
Combat situation : {{combatSituation}}
</div>
{{/if}}
{{#if stunnedModifier}}
<div class=dice-result>
Stunned : {{stunnedModifier}}
</div>
{{/if}}
{{#if hitsPerRound}}
<div class=dice-result>
Hits/round malus : {{hitsPerRound}}
</div>
{{/if}}
{{#if lightningModifier}}
<div class=dice-result>
Lightning modifierLight : {{lightningModifier}}
</div>
{{/if}}
{{#if darknessModifier}}
<div class=dice-result>
Darkness modifierDark : {{darknessModifier}}
</div>
{{/if}}
{{#if woundsModifier}}
<div class="dice-result">
<div>% of hits malus : {{woundsModifier}}</div>
</div>
{{/if}}
<div class="dice-result">
Total of d100 rolls:
<h4 class="dice-total">{{totalRolls}}<br>
({{#each rolls as |roll|}}{{roll.total}}{{#unless @last}}, {{/unless}}{{/each}})</h4>
</div>
<div class=dice-result>
Character Bonus : {{characterBonus}}
</div>
<div class="dice-result">
Total :
<h4 class="dice-total">{{totalFinal}}</h4>
</div>
{{#if attackResult}}
<div class="dice-result">
Damage result :
<h4 class="dice-total">{{attackResult}}</h4>
</div>
{{/if}}
{{#if fumbleResult}}
<div class="dice-result">
<strong>Fumble !!!: {{fumbleResult}}</strong>
</div>
{{/if}}
{{#if criticalResult}}
<div class="dice-result">
Critical {{criticalResult.key}}: {{criticalResult.description}}
</div>
{{#each criticalResult.effects as |effect|}}
{{#if effect.cannot_parry}}
<div class="dice-result">
Cannot parry
</div>
{{/if}}
{{#if effect.damage}}
<div class="dice-result">
Damage : {{effect.damage}}
</div>
{{/if}}
{{#if effect.must_parry}}
<div class="dice-result">
Must parry
</div>
{{/if}}
{{#if effect.mustparry_duration}}
<div class="dice-result">
Must parry for {{effect.mustparry_duration}} rounds
</div>
{{/if}}
{{#if effect.mustparry_value}}
<div class="dice-result">
Must parry with a value of {{effect.mustparry_value}}
</div>
{{/if}}
{{#if effect.round_bonus_duration}}
<div class="dice-result">
Bonus for {{effect.round_bonus_duration}} rounds
</div>
{{/if}}
{{#if effect.round_penalty_duration}}
<div class="dice-result">
Penalty for {{effect.round_penalty_duration}} rounds
</div>
{{/if}}
{{#if effect.stunned}}
<div class="dice-result">
Stunned
</div>
{{/if}}
{{#if effect.wounds_per_round}}
<div class="dice-result">
Wounds per round : {{effect.wounds_per_round}}
</div>
{{/if}}
</div>
{{/each}}
{{/if}}
</div>