77 lines
2.4 KiB
Handlebars
77 lines
2.4 KiB
Handlebars
<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 skill}}
|
|
<li>Skill : {{skill.name}} ({{skill.total}}%)</li>
|
|
{{/if}}
|
|
{{#if weapon}}
|
|
<li>Weapon : {{weapon.name}}</li>
|
|
<li>Location hit : {{upperFirst weaponAiming}} ({{locationMalus}})</li>
|
|
{{/if}}
|
|
{{#if isAboveEffectiveRange}}
|
|
<li>Above effective range: yes, -30% applied</li>
|
|
{{/if}}
|
|
|
|
<li>Bonus/Malus: {{bonusMalus}}% </li>
|
|
<li>Target Number: {{percentValue}}% </li>
|
|
<li>Result: {{diceResult}} </li>
|
|
<li>Degrees: {{degrees}} </li>
|
|
|
|
{{#if isCriticalSuccess}}
|
|
<li><strong>Critical Success !</strong></li>
|
|
{{else}}
|
|
{{#if isSuccess}}
|
|
<li><strong>Success !</strong></li>
|
|
{{else}}
|
|
{{#if isCriticalFailure}}
|
|
<li><strong>Critical Failure !</strong></li>
|
|
{{else}}
|
|
<li><strong>Failure ...</strong></li>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#if (and weapon isSuccess)}}
|
|
{{#if weapon.ammo}}
|
|
<li>Roll Ammo Damage ({{weapon.ammo.name}}): [[/r {{weapon.ammo.system.damage}}*{{damageMultiplier}}*{{locationMultiplier}}]]</li>
|
|
<li>BR: {{weapon.ammo.system.br}}</li>
|
|
|
|
{{else}}
|
|
{{#if weapon.system.hashpdamage}}
|
|
<li>Roll HP Damage: [[/r {{weapon.system.damage}}*{{damageMultiplier}}*{{locationMultiplier}}]]</li>
|
|
{{/if}}
|
|
{{#if weapon.system.hasfatiguedamage}}
|
|
<li>Roll Fatigue Damage: [[/r {{weapon.ammo.system.fatiguedamage}}*{{damageMultiplier}}*{{locationMultiplier}}]]</li>
|
|
{{/if}}
|
|
<li>BR: [[/r {{weapon.system.br}}]]</li>
|
|
{{/if}}
|
|
<li>Penetration : {{mul weapon.system.penetrationmin damageMultiplier}} - {{mul weapon.system.penetrationmax damageMultiplier}}</li>
|
|
{{/if}}
|
|
|
|
{{#if (and (not isSuccess) rerolls)}}
|
|
<button class="chat-card-button chat-reroll">Reroll !</button>
|
|
{{/if}}
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|