Ajout image compétence

This commit is contained in:
Vincent Vandemeulebrouck 2021-01-22 14:33:51 +01:00
parent b0a28c2666
commit a380876ea6
9 changed files with 11 additions and 0 deletions

View File

@ -864,6 +864,7 @@ ul, li {
} }
.chat-message .chat-icon { .chat-message .chat-icon {
border: 0; border: 0;
padding: 2px 6px 2px 2px;
float: left; float: left;
} }

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4>{{alias}} attaque à {{diffLibre}}: {{arme.name}}</h4> <h4>{{alias}} attaque à {{diffLibre}}: {{arme.name}}</h4>
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div> <div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}} {{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4> <h4>
{{alias}} {{show.title}}: {{alias}} {{show.title}}:
{{#if selectedCarac}}{{selectedCarac.label}} {{#if selectedCarac}}{{selectedCarac.label}}

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4>{{alias}} esquive une attaque à {{diffLibre}}</h4> <h4>{{alias}} esquive une attaque à {{diffLibre}}</h4>
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div> <div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}} {{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}

View File

@ -1,3 +1,6 @@
{{#if competence.img}}
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
{{/if}}
<h4> <h4>
{{alias}} {{#if show.title}}{{show.title}}: {{/if}} {{alias}} {{#if show.title}}{{show.title}}: {{/if}}
{{#if selectedCarac}}{{selectedCarac.label}} {{#if selectedCarac}}{{selectedCarac.label}}

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4> <h4>
{{alias}} a médité : {{meditation.name}} {{alias}} a médité : {{meditation.name}}
</h4> </h4>

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4>{{alias}} pare une attaque à {{diffLibre}} - {{arme.name}}</h4> <h4>{{alias}} pare une attaque à {{diffLibre}} - {{arme.name}}</h4>
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div> <div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}} {{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4> <h4>
{{alias}} {{#if isSortReserve}}met en réserve{{else}}lance{{/if}} {{alias}} {{#if isSortReserve}}met en réserve{{else}}lance{{/if}}
le {{#if selectedSort.data.isrituel}}rituel{{else}}sort{{/if}} le {{#if selectedSort.data.isrituel}}rituel{{else}}sort{{/if}}

View File

@ -1,3 +1,4 @@
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
<h4> <h4>
{{alias}} travaille à sa t&acirc;che {{tache.name}} {{alias}} travaille à sa t&acirc;che {{tache.name}}
<br>{{selectedCarac.label}}/{{competence.name}} <br>{{selectedCarac.label}}/{{competence.name}}