Files
foundryvtt-reve-de-dragon/templates/roll/result/partial-appel-chance.hbs

23 lines
830 B
Handlebars

{{#unless type.retry}}
{{#if show.chance}}
<a class='appel-chance'
data-actorId='{{ids.actorId}}'
data-actorTokenId='{{ids.actorTokenId}}'
data-opponentId='{{ids.opponentId}}'
data-opponentTokenId='{{ids.opponentTokenId}}'
data-tooltip="Appel à la chance">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/chance.svg"/>
</a>
{{#if (gt active.actor.system.compteurs.destinee.value 0)}}
<a class='appel-destinee'
data-actorId='{{ids.actorId}}'
data-actorTokenId='{{ids.actorTokenId}}'
data-opponentId='{{ids.opponentId}}'
data-opponentTokenId='{{ids.opponentTokenId}}'
data-tooltip="Utiliser la destinée">
<img src="systems/foundryvtt-reve-de-dragon/assets/ui/destinee.svg"/>
</a>
{{/if}}
{{/if}}
{{/unless}}