Fix spells
This commit is contained in:
@ -37,8 +37,8 @@
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<ul class="no-bullets">
|
||||
{{#each spell.data.data.properties.mandatoryconditions as | cond idx|}}
|
||||
{{#if (lt idx @root.spell.data.data.properties.nbmandatoryconditions)}}
|
||||
{{#each spell.system.properties.mandatoryconditions as | cond idx|}}
|
||||
{{#if (lt idx @root.spell.system.properties.nbmandatoryconditions)}}
|
||||
<li><label for="mod">{{cond}}</label></li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
@ -52,8 +52,8 @@
|
||||
</div>
|
||||
<div class="flex1 center cell">
|
||||
<select class="flex1" name="optcond" id="optcond" data-type="String" multiple>
|
||||
{{#each spell.data.data.properties.optionnalconditions as | cond idx|}}
|
||||
{{#if (lt idx @root.spell.data.data.properties.nboptionnalconditions)}}
|
||||
{{#each spell.system.properties.optionnalconditions as | cond idx|}}
|
||||
{{#if (lt idx @root.spell.system.properties.nboptionnalconditions)}}
|
||||
<option value="{{idx}}">{{cond}}</option>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
Reference in New Issue
Block a user