Merge branch 'images-competence' into 'v1.2'
Images competence See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!124
This commit is contained in:
commit
26237ab732
@ -134,7 +134,7 @@ export class RdDResolutionTable {
|
||||
/* -------------------------------------------- */
|
||||
static _updateChancesWithBonus(chances, bonus) {
|
||||
if (bonus) {
|
||||
let newScore = chances.score + bonus;
|
||||
let newScore = Number(chances.score) + bonus;
|
||||
mergeObject(chances, this._computeCell(null, newScore), { overwrite: true });
|
||||
}
|
||||
}
|
||||
|
@ -864,6 +864,7 @@ ul, li {
|
||||
}
|
||||
.chat-message .chat-icon {
|
||||
border: 0;
|
||||
padding: 2px 6px 2px 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
|
@ -1,3 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<h4>
|
||||
{{alias}} {{show.title}}:
|
||||
{{#if selectedCarac}}{{selectedCarac.label}}
|
||||
|
@ -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>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
|
@ -1,3 +1,6 @@
|
||||
{{#if competence.img}}
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
{{/if}}
|
||||
<h4>
|
||||
{{alias}} {{#if show.title}}{{show.title}}: {{/if}}
|
||||
{{#if selectedCarac}}{{selectedCarac.label}}
|
||||
|
@ -1,3 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<h4>
|
||||
{{alias}} a médité : {{meditation.name}}
|
||||
</h4>
|
||||
|
@ -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>
|
||||
<div>{{selectedCarac.label}}{{#unless (eq selectedCarac.label competence.name)}} / {{competence.name}}{{/unless}}</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
|
@ -1,3 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<h4>
|
||||
{{alias}} {{#if isSortReserve}}met en réserve{{else}}lance{{/if}}
|
||||
le {{#if selectedSort.data.isrituel}}rituel{{else}}sort{{/if}}
|
||||
|
@ -1,3 +1,4 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" height="32" width="32" />
|
||||
<h4>
|
||||
{{alias}} travaille à sa tâche {{tache.name}}
|
||||
<br>{{selectedCarac.label}}/{{competence.name}}
|
||||
|
Loading…
Reference in New Issue
Block a user