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

79 lines
2.1 KiB
HTML
Raw Normal View History

2021-12-02 07:38:59 +01:00
<div class="chat-message-header">
2022-01-13 16:13:00 +01:00
{{#if actorImg}}
2021-12-02 07:38:59 +01:00
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
2022-01-13 16:13:00 +01:00
{{/if}}
2021-12-02 07:38:59 +01:00
<h4 class=chat-actor-name>{{alias}}</h4>
</div>
<hr>
2022-01-13 16:13:00 +01:00
{{#if img}}
2021-12-02 07:38:59 +01:00
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
2022-01-13 16:13:00 +01:00
{{/if}}
2021-12-02 07:38:59 +01:00
<div class="flexcol">
</div>
<div>
<ul>
2022-01-14 18:20:15 +01:00
{{#if power}}
<li>Power : {{power.name}}</li>
{{/if}}
2022-01-14 14:49:16 +01:00
{{#if isDamage}}
2022-07-19 20:51:48 +02:00
<li>Weapon Damage Dice : {{weaponDamageDice}}</li>
2022-01-14 14:49:16 +01:00
{{/if}}
2022-01-14 18:20:15 +01:00
{{#if isResistance}}
2022-09-21 16:54:34 +02:00
<li>Armor Resistance Dice : {{armor.system.resistanceDice}}</li>
2023-09-11 20:34:33 +02:00
<li>ADRL : {{armor.system.adrl}}</li>
2022-01-14 18:20:15 +01:00
{{/if}}
2022-01-11 23:35:23 +01:00
{{#if stat}}
<li>Statistic : {{stat.label}}</li>
{{/if}}
2022-07-26 22:38:04 +02:00
{{#if specName}}
<li>Specialisation : {{specName}}</li>
2021-12-02 07:38:59 +01:00
{{/if}}
2022-01-14 18:20:15 +01:00
2022-01-28 22:14:13 +01:00
{{#if weaponName}}
<li>Weapon : {{weaponName}}</li>
2022-08-14 15:27:54 +02:00
{{/if}}
{{#if weapon}}
2023-09-11 20:34:33 +02:00
{{#if (eq weapon.weapon.system.damagestatistic "str")}}
<li>MDL : {{weapon.weapon.system.mdl}}</li>
{{/if}}
{{#if (eq weapon.weapon.system.statistic "agi")}}
<li>RDL : {{weapon.weapon.system.rdl}}</li>
{{/if}}
2022-09-21 16:54:34 +02:00
{{#if vehicle}}
<li>Damage type : {{weapon.weapon.system.damagetype}}</li>
{{else}}
<li>Damage type : {{weapon.weapon.system.damagetype}} {{weapon.weapon.system.damagetypelevel}}</li>
{{/if}}
2022-01-28 22:14:13 +01:00
{{/if}}
2022-09-28 20:21:04 +02:00
{{#if power}}
2022-09-28 20:23:21 +02:00
<li>Power Damage type : {{power.system.powerdamagetype}} {{power.system.powerdamagetypelevel}}</li>
2022-09-28 20:21:04 +02:00
{{/if}}
2022-01-14 18:20:15 +01:00
{{#if isResistance}}
<li><strong>Defense Result : {{finalScore}}</strong>
2022-01-14 14:49:16 +01:00
{{else}}
2022-01-14 18:20:15 +01:00
{{#if isDamage}}
<li><strong>Damages : {{finalScore}}</strong>
{{else}}
<li><strong>Final Result : {{finalScore}}</strong>
{{/if}}
2022-01-14 14:49:16 +01:00
{{/if}}
2021-12-02 07:38:59 +01:00
2022-08-14 15:27:54 +02:00
{{#if isChatRoll}}
2022-07-13 22:47:07 +02:00
2022-08-14 15:27:54 +02:00
{{else}}
<button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button>
{{/if}}
2021-12-02 07:38:59 +01:00
</ul>
</div>
</div>