diff --git a/src/lang/de.json b/src/lang/de.json index 28d765d0..4cc4b57e 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -113,6 +113,12 @@ "DS4.SpellEffectRadius": "Effektradius", "DS4.SpellDuration": "Wirkdauer", "DS4.SpellCooldownDuration": "Abklingzeit", + "DS4.SpellMinimumLevelsHealer": "Zugangsstufe für Heiler", + "DS4.SpellMinimumLevelsHealerAbbr": "Zugangsstufe Hei", + "DS4.SpellMinimumLevelsWizard": "Zugangsstufe für Zauberer", + "DS4.SpellMinimumLevelsWizardAbbr": "Zugangsstufe Zau", + "DS4.SpellMinimumLevelsSorcerer": "Zugangsstufe für Schwarzmagier", + "DS4.SpellMinimumLevelsSorcererAbbr": "Zugangsstufe Sch", "DS4.SpellScrollPriceGold": "Schriftrollenpreis (Gold)", "DS4.ActorTypeCharacter": "Charakter", "DS4.ActorTypeCreature": "Kreatur", diff --git a/src/lang/en.json b/src/lang/en.json index 02598f84..29cb7eb0 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -113,6 +113,12 @@ "DS4.SpellEffectRadius": "Radius", "DS4.SpellDuration": "Duration", "DS4.SpellCooldownDuration": "Cooldown", + "DS4.SpellMinimumLevelsHealer": "Minimum level for Healers", + "DS4.SpellMinimumLevelsHealerAbbr": "Min lvl HEA", + "DS4.SpellMinimumLevelsWizard": "Minimum level for Wizards", + "DS4.SpellMinimumLevelsWizardAbbr": "Min lvl WIZ", + "DS4.SpellMinimumLevelsSorcerer": "Minimum level for Sorcerers", + "DS4.SpellMinimumLevelsSorcererAbbr": "Min lvl SRC", "DS4.SpellScrollPriceGold": "Scroll Price (Gold)", "DS4.ActorTypeCharacter": "Character", "DS4.ActorTypeCreature": "Creature", diff --git a/src/module/item/item-data.ts b/src/module/item/item-data.ts index 7fa85fab..8e90673c 100644 --- a/src/module/item/item-data.ts +++ b/src/module/item/item-data.ts @@ -107,6 +107,11 @@ export interface DS4SpellDataData extends DS4ItemDataDataBase, DS4ItemDataDataEq effectRadius: UnitData; duration: UnitData; cooldownDuration: UnitData; + minimumLevels: { + healer: number | null; + wizard: number | null; + sorcerer: number | null; + }; scrollPrice: number; } diff --git a/src/system.json b/src/system.json index b02807e8..8ab132ac 100644 --- a/src/system.json +++ b/src/system.json @@ -5,7 +5,7 @@ "version": "0.6.0", "minimumCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9", - "templateVersion": 4, + "templateVersion": 5, "author": "Johannes Loher, Gesina Schwalbe, Oliver Rümpelein, Siegfried Krug", "authors": [ { diff --git a/src/template.json b/src/template.json index 29e9ca6c..7a15b4a3 100644 --- a/src/template.json +++ b/src/template.json @@ -214,6 +214,11 @@ "value": "", "unit": "custom" }, + "minimumLevels": { + "healer": null, + "wizard": null, + "sorcerer": null + }, "scrollPrice": 0 }, "specialCreatureAbility": { diff --git a/src/templates/sheets/item/spell-sheet.hbs b/src/templates/sheets/item/spell-sheet.hbs index 2c3a0db3..25e87f98 100644 --- a/src/templates/sheets/item/spell-sheet.hbs +++ b/src/templates/sheets/item/spell-sheet.hbs @@ -65,6 +65,21 @@ {{> unitDatum data=data property='duration' localizeString='DS4.SpellDuration' unitType='temporal' }} {{> unitDatum data=data property='cooldownDuration' localizeString='DS4.SpellCooldownDuration' unitType='temporal' }} +
+ + +
+
+ + +
+
+ + +
+
{{#if isOwned}} {{#if (ne data.equipped undefined)}}
@@ -34,4 +34,4 @@ Additional elements of the side-properties div can be handed over via the @parti
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
-
\ No newline at end of file +
diff --git a/src/templates/sheets/item/tabs/effects.hbs b/src/templates/sheets/item/tabs/effects.hbs index a064313e..03b99df9 100644 --- a/src/templates/sheets/item/tabs/effects.hbs +++ b/src/templates/sheets/item/tabs/effects.hbs @@ -1,5 +1,5 @@ {{!-- Tab for the items view to manage effects --}} -
+
  1. @@ -21,4 +21,4 @@
  2. {{/each}}
-
\ No newline at end of file +