From 4a3523d6cf39810d9a37f6e62611ce52b3534cce Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 26 Jan 2024 20:27:57 -0700 Subject: [PATCH] Make the spell cost correctly save / render --- templates/actors/char-sheet-mvp/panels/spells.pc.hbs | 4 ++-- templates/items/spell.hbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/actors/char-sheet-mvp/panels/spells.pc.hbs b/templates/actors/char-sheet-mvp/panels/spells.pc.hbs index 6207784..ef37010 100644 --- a/templates/actors/char-sheet-mvp/panels/spells.pc.hbs +++ b/templates/actors/char-sheet-mvp/panels/spells.pc.hbs @@ -4,8 +4,8 @@ {{spell.name}} - {{#if (defined spell.system.cost)}} - {{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.cost}} + {{#if (defined spell.system.usage_cost)}} + {{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.usage_cost}} {{/if}} diff --git a/templates/items/spell.hbs b/templates/items/spell.hbs index 14ed97e..16dfb5a 100644 --- a/templates/items/spell.hbs +++ b/templates/items/spell.hbs @@ -12,8 +12,8 @@ {{localize "dotdungeon.item.spell.cost.label"}}