Gestion défense et compteur de possession

This commit is contained in:
2025-12-02 23:58:17 +01:00
parent 706aa657b1
commit 19cabe816e
18 changed files with 282 additions and 137 deletions

View File

@@ -28,13 +28,8 @@
<div class="chat-actions">
{{#unless (eq active.surprise.key 'totale')}}
<a class='chat-card-button button-defense'
data-attackerId='{{ids.opponentId}}'
data-attackerTokenId='{{ids.opponentTokenId}}'
data-defenderId='{{ids.actorId}}'
data-defenderTokenId='{{ids.actorTokenId}}'
>
<img src="systems/foundryvtt-reve-de-dragon/assets/actions/defense.svg"/>
<a class='chat-card-button button-defense'>
<img src="systems/foundryvtt-reve-de-dragon/assets/actions/defense.svg"/>
Se défendre
{{#if (or (eq attackerRoll.attaqueCategorie 'tir') (eq attackerRoll.attaqueCategorie 'lancer'))}}
(difficulté à déterminer)