Compare commits
2 Commits
2137a6c403
...
be132a9ff1
Author | SHA1 | Date | |
---|---|---|---|
be132a9ff1 | |||
b2037a852c |
@ -221,7 +221,8 @@ export class Mapping {
|
||||
const esquive = esquives[0]
|
||||
return {
|
||||
name: esquive.name,
|
||||
niveau: esquive.system.niveau
|
||||
niveau: esquive.system.niveau,
|
||||
competence: esquive
|
||||
}
|
||||
}
|
||||
return undefined
|
||||
|
@ -70,16 +70,17 @@
|
||||
</div>
|
||||
<hr>
|
||||
<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|}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/export-scriptarium/arme.hbs"
|
||||
name=arme.name niveau=arme.niveau init=arme.init dommages=arme.dommages
|
||||
arme=arme.arme competence=arme.competence
|
||||
}}
|
||||
{{/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)}}
|
||||
{{>"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}}
|
||||
</div>
|
||||
<hr>
|
||||
|
@ -1,9 +1,12 @@
|
||||
{{#if name}}
|
||||
<div class="flexrow item"
|
||||
data-item-id="{{arme._id}}"
|
||||
data-arme-name="{{arme.name}}"
|
||||
data-competence-name="{{competence.name}}">
|
||||
<a class="roll-arme">{{upperFirst name}}</a>
|
||||
{{#if name}}
|
||||
<a class="roll-arme">{{upperFirst name}}</a>
|
||||
{{else}}
|
||||
<div></div>
|
||||
{{/if}}
|
||||
<div class="flexrow">
|
||||
<div>{{niveau}}</div>
|
||||
{{#if init}}
|
||||
@ -15,4 +18,3 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{#if name}}
|
||||
<div class="flexrow">
|
||||
<div>{{upperFirst name}}</div>
|
||||
<div class="flexrow item" data-item-id="{{competence._id}}">
|
||||
<a class="roll-competence" name="Esquive">{{upperFirst name}}</a>
|
||||
<div class="flexrow">
|
||||
<div>{{niveau}}</div>
|
||||
<div></div>
|
||||
|
Loading…
Reference in New Issue
Block a user