Compare commits

..

No commits in common. "be132a9ff12e076f71c0618803590d0b5976adaf" and "2137a6c4033f3bb5c359268194de5912e9aac5dc" have entirely different histories.

4 changed files with 9 additions and 13 deletions

View File

@ -221,8 +221,7 @@ 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

@ -70,17 +70,16 @@
</div> </div>
<hr> <hr>
<div> <div>
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/arme.hbs" name='' niveau='Niv' init='Init' dommages='+dom'}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/arme.hbs" name=' ' niveau='Niv' init='Init' dommages='+dom'}}
{{#each context.armes as |arme|}} {{#each context.armes as |arme|}}
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/arme.hbs" {{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/arme.hbs"
name=arme.name niveau=arme.niveau init=arme.init dommages=arme.dommages name=arme.name niveau=arme.niveau init=arme.init dommages=arme.dommages
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=context.esquive.value competence=context.esquive.competence}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/esquive.hbs" name='Esquive' niveau=export.esquive.value}}
{{#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,12 +1,9 @@
{{#if name}}
<div class="flexrow item" <div class="flexrow item"
data-item-id="{{arme._id}}" data-item-id="{{arme._id}}"
data-arme-name="{{arme.name}}" data-arme-name="{{arme.name}}"
data-competence-name="{{competence.name}}"> data-competence-name="{{competence.name}}">
{{#if name}} <a class="roll-arme">{{upperFirst name}}</a>
<a class="roll-arme">{{upperFirst name}}</a>
{{else}}
<div></div>
{{/if}}
<div class="flexrow"> <div class="flexrow">
<div>{{niveau}}</div> <div>{{niveau}}</div>
{{#if init}} {{#if init}}
@ -18,3 +15,4 @@
{{/if}} {{/if}}
</div> </div>
</div> </div>
{{/if}}

View File

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