Fin de gestion encaissement/recul V2

This commit is contained in:
2025-09-28 14:41:03 +02:00
parent faca73b0a1
commit bbcd6ad363
19 changed files with 291 additions and 219 deletions

View File

@@ -1,11 +1,18 @@
{{#if show.recul}}
<a class='chat-card-button resister-recul-button'
data-actorId='{{ids.actorId}}'
data-actorTokenId='{{ids.actorTokenId}}'
data-opponentId='{{ids.opponentId}}'
data-opponentTokenId='{{ids.opponentTokenId}}'
data-tooltip="Résister au recul"
>
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/recul.svg"/> Résister au recul
</a>
{{/if}}
{{#if (eq done.recul 'recul')}}
<span class='chat-card-info'>
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/recul.svg"/>
{{active.name}} recule sous l'impact
</span>
{{else if (eq done.recul 'chute')}}
<span class='chat-card-info'>
<img src="icons/svg/falling.svg"/>
{{active.name}} recule et chute sous l'impact
</span>
{{else}}
<a class='chat-card-button resister-recul' data-tooltip="Résister au recul ({{show.recul.raison}}, taille {{show.recul.taille}}, impact {{show.recul.impact}})">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/recul.svg"/> Résister au recul
10 à {{plusMoins show.recul.diff}} = {{show.recul.chances}}%
</a>
{{/if}}
{{/if}}