forked from public/foundryvtt-reve-de-dragon
Gestion attaques v2 et initiative
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
|
||||
{{log this}}
|
||||
<div class="roll-chat">
|
||||
<div class="chat-img">
|
||||
<img src="{{active.img}}" data-tooltip="{{active.name}}" />
|
||||
<img src="{{competence.img}}" data-tooltip="{{competence.name}}" />
|
||||
<img src="{{opponent.img}}" data-tooltip="{{opponent.name}}" />
|
||||
</div>
|
||||
|
||||
<div class="chat-header">
|
||||
@@ -30,20 +29,22 @@
|
||||
{{!-- {{else}}
|
||||
<!-- TODO: cas de parade à mains nues, texte à modifier -->
|
||||
{{/if}} --}}
|
||||
{{#if attackerRoll.tactique}}
|
||||
<p>
|
||||
{{#if (eq attackerRoll.tactique.key 'charge')}}
|
||||
{{#if (eq attackerRoll.tactique.key 'charge')}}
|
||||
<span class='chat-card-info'>
|
||||
<img class="chat-icon" src="icons/svg/thrust.svg" data-tooltip="charge" height="32" width="32" />
|
||||
C'était une charge, les parades de {{opponent.name}} auront un -4 et il ne pourra pas esquiver!
|
||||
{{else if (eq attackerRoll.tactique.key 'feinte')}}
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if (eq attackerRoll.tactique.key 'feinte')}}
|
||||
<span class='chat-card-info'>
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg" data-tooltip="feinte" height="32" width="32" />
|
||||
C'était une feinte!
|
||||
{{/if}}
|
||||
</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
{{> 'partial-info-appel-moral'}}
|
||||
</div>
|
||||
<div class="chat-actions">
|
||||
{{!-- TODO: maladresses --}}
|
||||
{{> 'partial-recul-choc'}}
|
||||
{{> 'partial-encaissement'}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user