Taille des images dans les messages
This commit is contained in:
parent
bd78b80c24
commit
c9fe0ed85d
@ -2707,7 +2707,7 @@ export class RdDActor extends Actor {
|
||||
} else {
|
||||
// TODO: status effect dead
|
||||
this.addStatusEffectById('dead');
|
||||
ChatMessage.create({ content: `<img class="chat-icon" src="icons/svg/skull.svg" alt="charge" height="32" width="32" />
|
||||
ChatMessage.create({ content: `<img class="chat-icon" src="icons/svg/skull.svg" alt="charge" />
|
||||
<strong>${this.name} vient de succomber à une seconde blessure critique ! Que les Dragons gardent son Archétype en paix !</strong>` });
|
||||
encaissement.critiques -= count;
|
||||
encaissement.mort = true;
|
||||
|
@ -878,6 +878,8 @@ ul, li {
|
||||
border: 0;
|
||||
padding: 2px 6px 2px 2px;
|
||||
float: left;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
#sidebar-tabs {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_alchimie.png" alt="préparation alchimique" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_alchimie.png" alt="préparation alchimique" />
|
||||
<h4>
|
||||
{{alias}} essaye de réaliser sa recette Alchimique : {{recette.name}}
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>{{alias}} attaque à {{diffLibre}}: {{arme.name}}</h4>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_chant.png" alt="chant" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_chant.png" alt="chant" />
|
||||
<h4>
|
||||
{{alias}} tente de chanter la chanson : {{chant.name}} (niveau {{chant.data.niveau}})
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>
|
||||
{{alias}} {{show.title}}:
|
||||
{{#if selectedCarac}}{{selectedCarac.label}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_cuisine.webp" alt="cuisine" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_cuisine.webp" alt="cuisine" />
|
||||
<h4>
|
||||
{{alias}} tente cuisiner la recette : {{cuisine.name}} (niveau {{cuisine.data.niveau}})
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_danse.webp" alt="danse" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_danse.webp" alt="danse" />
|
||||
<h4>
|
||||
{{alias}} tente de danser : {{danse.name}} (niveau {{danse.data.niveau}})
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>{{alias}} esquive une attaque à {{diffLibre}}</h4>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
@ -21,8 +21,7 @@
|
||||
<img class="chat-icon" src="icons/svg/thrust.svg" alt="charge" height="32" width="32" />
|
||||
C'était une charge, les parades de votre adversaire auront un -4 et il ne pourra pas esquiver!
|
||||
{{ else if (eq attackerRoll.tactique 'feinte')}}
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg" alt="feinte" height="32"
|
||||
width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg" alt="feinte" height="32" width="32" />
|
||||
C'était une feinte!
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{#if competence.img}}
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
{{/if}}
|
||||
<h4>
|
||||
{{alias}} {{#if show.title}}{{show.title}}: {{/if}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_jeu.webp" alt="jeu" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_jeu.webp" alt="jeu" />
|
||||
<h4>
|
||||
{{alias}} joue à : {{jeu.name}}
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>
|
||||
{{alias}} a médité : {{meditation.name}}
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_musique.webp" alt="musique" height="32" width="32" />
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_musique.webp" alt="musique" />
|
||||
<h4>
|
||||
{{alias}} tente de chanter la chanson : {{musique.name}} (niveau {{musique.data.niveau}})
|
||||
</h4>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>{{alias}} pare une attaque à {{diffLibre}} - {{arme.name}}</h4>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
@ -34,7 +34,7 @@
|
||||
{{#if attackerRoll.tactique}}
|
||||
<div>
|
||||
{{#if (eq attackerRoll.tactique 'charge')}}
|
||||
<img class="chat-icon" src="icons/svg/thrust.svg" alt="charge" height="32" width="32" />
|
||||
<img class="chat-icon" src="icons/svg/thrust.svg" alt="charge" />
|
||||
C'était une charge, les parades de l'adversaire auront un -4 et il ne pourra pas esquiver!
|
||||
{{ else if (eq attackerRoll.tactique 'feinte')}}
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg" alt="feinte" height="32"
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>
|
||||
{{alias}} {{#if isSortReserve}}met en réserve{{else}}lance{{/if}}
|
||||
le {{#if selectedSort.data.isrituel}}rituel{{else}}sort{{/if}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
||||
<h4>
|
||||
{{alias}} travaille à sa tâche {{tache.name}}
|
||||
<br>{{selectedCarac.label}}/{{competence.name}}
|
||||
|
Loading…
Reference in New Issue
Block a user