v11 #714

Merged
uberwald merged 5 commits from VincentVk/foundryvtt-reve-de-dragon:v11 into v11 2024-10-11 17:42:24 +02:00
3 changed files with 7 additions and 5 deletions
Showing only changes of commit be132a9ff1 - Show all commits

View File

@ -221,7 +221,8 @@ export class Mapping {
const esquive = esquives[0] const esquive = esquives[0]
return { return {
name: esquive.name, name: esquive.name,
niveau: esquive.system.niveau niveau: esquive.system.niveau,
competence: esquive
} }
} }
return undefined return undefined

View File

@ -77,9 +77,10 @@
arme=arme.arme competence=arme.competence arme=arme.arme competence=arme.competence
}} }}
{{/each}} {{/each}}
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/esquive.hbs" name='Esquive' niveau=export.esquive.value}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/esquive.hbs" name='Esquive' niveau=context.esquive.value competence=context.esquive.competence}}
{{#if (gt export.malue_armure.value 0)}} {{#if (gt export.malue_armure.value 0)}}
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/esquive.hbs" name='Esquive (avec armure)' niveau=export.esquive_armure.value}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/esquive.hbs" name='Esquive (avec armure)' niveau=export.esquive_armure.value
competence=context.esquive.competence}}
{{/if}} {{/if}}
</div> </div>
<hr> <hr>

View File

@ -1,6 +1,6 @@
{{#if name}} {{#if name}}
<div class="flexrow"> <div class="flexrow item" data-item-id="{{competence._id}}">
<div>{{upperFirst name}}</div> <a class="roll-competence" name="Esquive">{{upperFirst name}}</a>
<div class="flexrow"> <div class="flexrow">
<div>{{niveau}}</div> <div>{{niveau}}</div>
<div></div> <div></div>