Make the spell cost correctly save / render
This commit is contained in:
parent
0c211be7dc
commit
4a3523d6cf
2 changed files with 4 additions and 4 deletions
|
|
@ -4,8 +4,8 @@
|
||||||
<summary data-collapse-id="{{spell.uuid}}">
|
<summary data-collapse-id="{{spell.uuid}}">
|
||||||
<span class="flex-grow" style="flex-grow: 1">
|
<span class="flex-grow" style="flex-grow: 1">
|
||||||
{{spell.name}}
|
{{spell.name}}
|
||||||
{{#if (defined spell.system.cost)}}
|
{{#if (defined spell.system.usage_cost)}}
|
||||||
{{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.cost}}
|
{{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.usage_cost}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
</summary>
|
</summary>
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@
|
||||||
{{localize "dotdungeon.item.spell.cost.label"}}
|
{{localize "dotdungeon.item.spell.cost.label"}}
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
name="system.cost"
|
name="system.usage_cost"
|
||||||
value="{{system.cost}}"
|
value="{{system.usage_cost}}"
|
||||||
aria-label="{{localize "dotdungeon.item.spell.aria.cost"}}"
|
aria-label="{{localize "dotdungeon.item.spell.aria.cost"}}"
|
||||||
>
|
>
|
||||||
</label>
|
</label>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue