2021-01-07 00:32:22 +01:00
|
|
|
<div data-passearme="{{passeArme}}">
|
|
|
|
{{#if (eq surprise 'totale')}}
|
|
|
|
<span><strong>{{defender.name}}</strong> est totalement surpris</span>
|
2021-01-07 01:54:38 +01:00
|
|
|
{{else if essais.defense}}
|
2021-01-08 22:55:00 +01:00
|
|
|
<span><strong>{{defender.name}}</strong> doit :</span>
|
2021-01-07 00:32:22 +01:00
|
|
|
{{else}}
|
|
|
|
<span><strong>{{defender.name}}</strong> doit se défendre
|
2021-01-19 22:31:32 +01:00
|
|
|
{{~#if (eq surprise 'demi')}} avec une significative {{/if}} d'une attaque
|
|
|
|
{{~#if attaqueParticuliere}} <strong>particulière en
|
2021-01-15 19:09:44 +01:00
|
|
|
{{~#if (eq attaqueParticuliere 'finesse')}} finesse
|
|
|
|
{{else if (eq attaqueParticuliere 'force')}} force
|
2021-01-19 22:31:32 +01:00
|
|
|
{{else if (eq attaqueParticuliere 'rapidite')}} rapidité
|
2021-01-15 19:09:44 +01:00
|
|
|
{{/if~}}</strong>
|
2021-01-19 22:31:32 +01:00
|
|
|
{{/if}} de {{attacker.name}} ({{attaqueArme.name}}):
|
2021-01-07 00:32:22 +01:00
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
<span class='chat-card-button-area'>
|
|
|
|
<br>
|
|
|
|
{{#unless (eq surprise 'totale')}}
|
2021-01-07 01:54:38 +01:00
|
|
|
{{#if essais.defense}}
|
|
|
|
{{#unless essais.defenseChance}}
|
2021-03-29 18:08:18 +02:00
|
|
|
{{#if (eq defender.type 'personnage')}}
|
2021-01-07 00:32:22 +01:00
|
|
|
<a class='chat-card-button' id='appel-chance-defense' data-attackerId='{{attackerId}}'
|
|
|
|
data-defenderTokenId='{{defenderTokenId}}'>Faire appel à la chance</a>
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/if}}
|
2021-03-29 18:08:18 +02:00
|
|
|
{{#if (eq defender.type 'personnage')}}
|
|
|
|
{{#if (gt defender.data.compteurs.destinee.value 0)}}
|
2021-01-07 00:32:22 +01:00
|
|
|
<a class='chat-card-button' id='appel-destinee-defense' data-attackerId='{{attackerId}}'
|
|
|
|
data-defenderTokenId='{{defenderTokenId}}'>Utiliser la destinée</a>
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/if}}
|
2021-01-08 22:55:00 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
2021-01-07 00:32:22 +01:00
|
|
|
{{else}}
|
|
|
|
{{#each armes as |arme key|}}
|
2021-11-08 14:58:06 +01:00
|
|
|
<a class='chat-card-button' id='parer-button' data-attackerId='{{../attackerId}}' data-defenderTokenId='{{../defenderTokenId}}' data-armeid='{{arme.id }}'>
|
2021-03-14 16:07:44 +01:00
|
|
|
Parer avec {{arme.name}} à {{../diffLibre }}{{#if arme.data.nbUsage}} (Utilisations : {{arme.data.nbUsage}}){{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/each}}
|
|
|
|
{{#if mainsNues}}
|
2021-01-07 01:54:38 +01:00
|
|
|
<a class='chat-card-button' id='parer-button' data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderTokenId}}'>
|
2021-03-14 16:07:44 +01:00
|
|
|
Parer à mains nues à {{diffLibre}}{{#if arme.data.nbUsage}} (Utilisations : {{arme.data.nbUsage}}){{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (ne attaqueCategorie 'tir')}}
|
2021-01-07 01:54:38 +01:00
|
|
|
<a class='chat-card-button' id='esquiver-button' data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderTokenId}}'>
|
2021-03-14 16:07:44 +01:00
|
|
|
Esquiver à {{diffLibre}} {{#if esquiveUsage}} (Utilisations : {{esquiveUsage}}){{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
<a class='chat-card-button' id='encaisser-button' data-attackerId='{{attackerId}}'
|
|
|
|
data-defenderTokenId='{{defenderTokenId}}'>
|
|
|
|
Encaisser à {{#if (eq dmg.mortalite 'non-mortel')~}}
|
|
|
|
({{numberFormat dmg.total decimals=0 sign=true}})
|
|
|
|
{{~else~}}
|
|
|
|
{{numberFormat dmg.total decimals=0 sign=true}}
|
|
|
|
{{~/if}} !
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|