Gestion défense à distance

This commit is contained in:
2025-12-11 03:12:31 +01:00
parent 4f4e00b298
commit 30090872d4
12 changed files with 129 additions and 58 deletions

View File

@@ -31,8 +31,8 @@
<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)
{{#if attackerRoll.current.attaque.isDistance}}
(à distance)
{{else}}
à {{attackerRoll.current.diff.value}}
{{/if}}