From 74dec8dea484848e82b4f9e4f48583fd32a75a2b Mon Sep 17 00:00:00 2001 From: Jeff Hitchcock Date: Sun, 3 Jul 2022 17:56:07 -0700 Subject: [PATCH] [#1401, 1626] Add ability to limit dropped spells to a certain level --- lang/en.json | 4 ++++ templates/advancement/item-choice-config.html | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/lang/en.json b/lang/en.json index e2587593a1..190ded4673 100644 --- a/lang/en.json +++ b/lang/en.json @@ -119,6 +119,10 @@ "DND5E.AdvancementItemChoiceHint": "Present the player with a choice of items (such as equipment, features, or spells) that they can choose for their character at one or more levels.", "DND5E.AdvancementItemChoiceChosen": "Chosen: {current} of {max}", "DND5E.AdvancementItemChoiceLevelsHint": "Specify how many choices are allowed at each level.", +"DND5E.AdvancementItemChoiceSpellLevelAvailable": "Any Available Level", +"DND5E.AdvancementItemChoiceSpellLevelAvailableWarning": "Only {level} or lower spells can be chosen for this advancement.", +"DND5E.AdvancementItemChoiceSpellLevelSpecificWarning": "Only {level} spells can be chosen for this advancement.", +"DND5E.AdvancementItemChoiceSpellLevelHint": "Only allow choices from spells of this level.", "DND5E.AdvancementItemChoiceType": "Item Type", "DND5E.AdvancementItemChoiceTypeHint": "Restrict what Item types can be choosen.", "DND5E.AdvancementItemChoiceTypeAny": "Anything", diff --git a/templates/advancement/item-choice-config.html b/templates/advancement/item-choice-config.html index a6d2582efc..877a675e80 100644 --- a/templates/advancement/item-choice-config.html +++ b/templates/advancement/item-choice-config.html @@ -26,6 +26,22 @@ {{#if showSpellConfig}} +
+ +
+ +
+

{{localize "DND5E.AdvancementItemChoiceSpellLevelHint"}}

+
+ {{> "systems/dnd5e/templates/advancement/parts/item-spell-config.html"}} {{/if}}