2021-01-07 00:32:22 +01:00
|
|
|
<div data-passearme="{{passeArme}}">
|
|
|
|
{{#if (eq surprise 'totale')}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<span><strong>{{defenderToken.name}}</strong> est totalement surpris</span>
|
2021-01-07 01:54:38 +01:00
|
|
|
{{else if essais.defense}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<span><strong>{{defenderToken.name}}</strong> doit :</span>
|
2021-01-07 00:32:22 +01:00
|
|
|
{{else}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<span><strong>{{defenderToken.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>
|
2024-10-25 23:28:09 +02:00
|
|
|
{{/if}} de {{attackerToken.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')}}
|
2024-11-03 23:37:21 +01:00
|
|
|
<a class='chat-card-button' id='appel-chance-defense'
|
|
|
|
data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderToken.id}}' data-attackerTokenId='{{attackerToken.id}}'>
|
|
|
|
Faire appel à la chance</a>
|
|
|
|
</a>
|
|
|
|
<br>
|
2021-01-07 00:32:22 +01:00
|
|
|
{{/if}}
|
2024-11-03 23:37:21 +01:00
|
|
|
{{#if (and (eq defender.type 'personnage') (gt defender.system.compteurs.destinee.value 0))}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<a class='chat-card-button' id='appel-destinee-defense'
|
|
|
|
data-attackerId='{{attackerId}}' data-attackerTokenId='{{attackerToken.id}}' data-defenderTokenId='{{defenderToken.id}}'>
|
|
|
|
Utiliser la destinée</a>
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
{{/if}}
|
2021-01-08 22:55:00 +01:00
|
|
|
{{/unless}}
|
2021-01-07 00:32:22 +01:00
|
|
|
{{else}}
|
|
|
|
{{#each armes as |arme key|}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<a class='chat-card-button' id='parer-button'
|
|
|
|
data-attackerId='{{../attackerId}}' data-defenderTokenId='{{../defenderToken.id}}' data-attackerTokenId='{{../attackerToken.id}}'
|
|
|
|
data-armeid='{{arme._id}}'>
|
2024-11-03 23:37:21 +01:00
|
|
|
Parer avec {{arme.name}}
|
|
|
|
{{#if (or (eq ../attaqueCategorie 'tir') (eq ../attaqueCategorie 'lancer'))}}
|
|
|
|
(difficulté à déterminer)
|
|
|
|
{{else}}à {{../diffLibre }}
|
|
|
|
{{/if}}
|
2024-11-04 00:19:21 +01:00
|
|
|
{{#if (eq arme.typeParade 'sign')}}
|
|
|
|
<span class="rdd-diviseur">×½</span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if arme.nbUsage}}(Utilisations : {{arme.nbUsage}}){{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
2024-11-03 23:37:21 +01:00
|
|
|
{{/each}}
|
|
|
|
{{#if mainsNues}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<a class='chat-card-button' id='parer-button'
|
2024-11-03 23:37:21 +01:00
|
|
|
data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderToken.id}}' data-attackerTokenId='{{attackerToken.id}}'
|
|
|
|
data-armeid='{{arme._id}}' data-competence='{{arme.system.competence}}'>
|
2024-11-04 00:19:21 +01:00
|
|
|
Parer à mains nues à {{diffLibre}}{{#if arme.nbUsage}} (Utilisations : {{arme.nbUsage}}){{/if}}
|
2024-11-03 23:37:21 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
2021-01-07 00:32:22 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (ne attaqueCategorie 'tir')}}
|
2024-11-03 23:37:21 +01:00
|
|
|
{{#each esquives as |esquive key|}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<a class='chat-card-button' id='esquiver-button'
|
|
|
|
data-attackerId='{{../attackerId}}' data-defenderTokenId='{{../defenderToken.id}}' data-attackerTokenId='{{../attackerToken.id}}'
|
|
|
|
data-compid='{{esquive._id}}' data-competence='{{esquive.name}}'>
|
2024-11-03 23:37:21 +01:00
|
|
|
{{esquive.name}}
|
|
|
|
{{#if (or (eq ../attaqueCategorie 'tir') (eq ../attaqueCategorie 'lancer'))}}
|
|
|
|
(difficulté à déterminer)
|
|
|
|
{{else}}à {{../diffLibre }}
|
|
|
|
{{/if}}
|
2024-11-04 00:19:21 +01:00
|
|
|
{{#if esquive.nbUsage}}(Utilisations : {{esquive.nbUsage}}){{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
<br>
|
2021-11-20 02:53:28 +01:00
|
|
|
{{/each}}
|
2021-01-07 00:32:22 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
2024-10-25 23:28:09 +02:00
|
|
|
<a class='chat-card-button' id='encaisser-button'
|
|
|
|
data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderToken.id}}' data-attackerTokenId='{{attackerToken.id}}'>
|
2023-11-11 00:03:14 +01:00
|
|
|
Encaisser à {{plusMoins dmg.total}}
|
|
|
|
{{#if (eq dmg.mortalite 'non-mortel')~}}
|
|
|
|
(non-mortel) !
|
2023-11-11 20:23:07 +01:00
|
|
|
{{/if}}
|
2021-01-07 00:32:22 +01:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|