diff --git a/CHANGELOG.md b/CHANGELOG.md
index e4b92627..756c286c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
* Get embedded item data from `system` variable instead of root
* Use correct type when importing a Force Boost mods ([#1687](https://github.com/StarWarsFoundryVTT/StarWarsFFG/issues/1687))
* Item attachments' mods use parent item mod type when present ([#1624](https://github.com/StarWarsFoundryVTT/StarWarsFFG/issues/1624))
+ * Talent cost set when preparing tree instead of template ([#1704](https://github.com/StarWarsFoundryVTT/StarWarsFFG/issues/1704))
* Qualities are linked to parent item ([#1612](https://github.com/StarWarsFoundryVTT/StarWarsFFG/issues/1612))
`1.903`
diff --git a/modules/items/item-ffg.js b/modules/items/item-ffg.js
index 059c668b..75a92792 100644
--- a/modules/items/item-ffg.js
+++ b/modules/items/item-ffg.js
@@ -371,6 +371,11 @@ export class ItemFFG extends ItemBaseFFG {
}
}
+ if (itemType === "talent") {
+ const id = parseInt(upgrade.replace("talent", ""), 10);
+ talents[upgrade].cost = (Math.trunc(id / 4) + 1) * 5;
+ }
+
if (typeof talents[upgrade].visible === "undefined") {
talents[upgrade].visible = true;
}
diff --git a/templates/items/ffg-specialization-sheet.html b/templates/items/ffg-specialization-sheet.html
index ccb92e96..42e9dc90 100644
--- a/templates/items/ffg-specialization-sheet.html
+++ b/templates/items/ffg-specialization-sheet.html
@@ -71,7 +71,7 @@
-
+