Shadow Touched

You learn how to bend shadows from your experience with the Shadowfell. You gain the following benefits:

  • Increase your Intelligence, Wisdom, or Charisma score by 1, to a maximum of 20.
  • You learn the darkness spell and one 1st-level spell of your choice. The 1st-level spell must be from the illusion or necromancy school of magic. You can cast each of these spells without expending a spell slot. Once you cast either of these spells in this way, you can't cast that spell in this way again until you finish a long rest. You can also cast these spells using spell slots you have of the appropriate level. The spells' spellcasting ability is the ability increased by this feat.
name = 'Shadow-Touched'
description = "***Feat: Shadow-Touched.*** You learn how to bend shadows from your experience with the Shadowfell."
def prereq(npc): return True
def apply(npc):
    ab = chooseability(npc, ['INT','WIS','CHA'])

    spellcasting = innatecaster(npc, ab, name)
    spellcasting.perday[1] = ['darkness', 'CHOOSE-1st-level-Illusion-or-Necromancy']

    npc.traits.append("***Shadow-Touched Spells.*** You can also cast your Shadow-Touched spells using spell slots you have of the appropriate level.")