<?xml version="1.0" encoding="utf-8" ?>
<elements>
	<info>
		<name>Nightblade</name>
		<description></description>
		<author url="https://uestrpg.wixsite.com/home/downloads">Unofficial Elder Scrolls Tabletop RPG</author>
		<update version="1.4.0">
			<file name="class-nightblade.xml" url="" />
		</update>
	</info>

	<element name="Nightblade" type="Class"  source="UESTRPG" id="ID_UESTRPG_CLASS_NIGHTBLADE">
		<description>
			<p>Unexpectedly, the viscount blurts out the location of the missing dauphin, when moments earlier he seemed disinterested in helping. With a wave of her hand, an altmer smiles slyly, thanks the aid, and confidently leaves the castle.</p>
			<p class="indent">Suppressing a giggle, a breton waggles her fingers and magically lifts the key ring from the guard’s belt. In a moment, the keys are in her hand, the cell door is open, and she and her companions are free to make their escape.</p>
            <p class="indent">Navigating the dark alleys in near silence, an argonian dressed in black dyed leather heads towards the back side of the mayor's villa. Noticing an open window on the second-story, he fades into the shadows and with a puff of black smoke reappears in the unlit room.</p>
            <p class="indent">Every nightblade has given themselves to the shadow, exploiting the ancient magic found within the darkness. They use the arcane arts to enhance their skills of stealth and to manipulate the minds of others.</p>
            <h4>MISCHIEVOUS OPPORTUNISTS</h4>
			<p>Whichever path they choose, nightblades have a sinister reputation that follows. They are known to be clever pickpockets and burglars, but also pranksters and mischief-makers. Not all nightblades are scoundrels, however. Many use their talents to become incredibly successful investigators, undercover operatives, or royal inquisitors.</p>
			<p class="indent">When it comes to getting in and out unnoticed, nightblades are unrivaled. They're natural talent with stealth, combined with magical concealment means a capable nightblade is hardly ever seen. Unlike studious mages, nightblades supplement their magic with their skillful blade and light armor.</p>
			<h4>CONFLICT AND MISFORTUNE</h4>
            <p>The life of a nightblade is a dangerous one. Whatever their motivations, slinking through alleyways, spying on suspects, and liberating goods is a risky business. Sometimes considered agents of misery, most nightblades have become inured to the woe's of others, but that doesn't necessarily mean that they are unaffected by their actions.</p>
            <p class="indent">Typically driven by the need to learn more about the dark arts of shadow magic, or to discover the inner workings of black markets, nightblades often find themselves flirting on the edge of morality to get what they want.</p>
			<h4>CREATING A NIGHTBLADE</h4>
			<p>As you create your nightblade character, consider it's relationship with the shadow. Have you completely given in to the darkness are do you skirt around the edges, taking only what you need? Do you struggle with the harmful magic, or have you learned to balance the dangerous power? Perhaps you believe that light shines brightest in the darkness and use this gift to fend off the forces of evil.</p>
			<p class="indent">What was your life like before you started your adventure? Were you a lowly thief or an esteemed agent of the Empire? Or maybe you started out as a illusionist and realized you can use your magic prowess to take what you want. How did you learn about the obscure shadow magic? Were you selected by a mentor who noticed your talents or did you happen across a mystic tome during a heist?</p>
            <p class="indent">Consider why you've joined a group of adventurers. Are you in search of more powerful knowledge that you can't manage on your own? Does your greed drive you, are you interested in honing your skills, or are you investigating nefarious villains.</p>
            <h5>QUICK BUILD</h5>
			<p>You can make a nightblade quickly by following these suggestions. First, Personality should be your highest attribute score, followed by Endurance. Second, use the charlatan background. Third, choose the <i>chill touch</i> and <i>eldritch blast</i> cantrips, along with with 1st level spells <i>charm person</i> and <i>witch bolt</i>.</p>
            <h3>CLASS FEATURES</h3>
			<p>As a nightblade, you gain the following class features.</p>
			<h5>HIT POINTS</h5>
			<ul class="unstyled">
				<li><strong>Hit Dice:</strong> 1d8 per nightblade level</li>
				<li><strong>Hit Points at 1st Level:</strong> 8 + your Constitution modifier</li>
				<li><strong>Hit Points at Higher Levels:</strong> 1d8 (or 5) + your Constitution modifier per nightblade level after 1st</li>
			</ul>
			<h5>PROFICIENCIES</h5>
			<ul class="unstyled mb">
				<li><strong>Armor:</strong> Light Armor</li>
				<li><strong>Weapons:</strong> Marksman, Short Blade and Long Blade</li>
				<li><strong>Tools:</strong> Choose one from disguise kit, forgery kit, poisoner's kit or thieves' tools.</li>
			</ul>
			<ul class="unstyled">
				<li><strong>Saving Throws:</strong> Agility, Intelligence</li>
				<li><strong>Skills:</strong> Choose three from Acrobatics, Arcana, Athletics, Deception, Insight, Investigation, History, Perception, Sleight of Hand, and Stealth</li>
			</ul>
			<!-- <h5>EQUIPMENT</h5> [[[[[[[[[[AWAIT UPDATE]]]]]]]]]]
			<p>You start with the following equipment, in addition to the equipment granted by your background:</p>
			<ul>
				<li>(a) a quarterstaff or (b) a dagger</li>
				<li>(a) a component pouch or (b) an arcane focus</li>
				<li>(a) a light crossbow and 20 bolts or (b) any simple weapon</li>
				<li>(a) a scholar’s pack or (b) an explorer’s pack</li>
				<li>A spellbook</li>
			</ul> -->
			<h5 class="caption">THE NIGHTBLADE</h5>
			<table class="class-features">
				<thead>
					<tr><td class="col-5">Level</td><td class="col-10">Proficiency Bonus</td><td class="left">Features</td><td class="col-10">Cantrips Known</td><td class="col-10">Spells Known</td><td>Magicka</td><td>Spell Level</td></tr>
				</thead>
				<tr><td> 1st</td><td>+2</td><td class="left">Spellcasting, Path of Darkness</td><td>2</td><td>2</td><td>2</td><td>1st</td></tr>
				<tr><td> 2nd</td><td>+2</td><td class="left">—</td><td>2</td><td>3</td><td>4</td><td>1st</td></tr>
				<tr><td> 3rd</td><td>+2</td><td class="left">—</td><td>2</td><td>4</td><td>7</td><td>2nd</td></tr>
				<tr><td> 4th</td><td>+2</td><td class="left">—</td><td>3</td><td>5</td><td>8</td><td>2nd</td></tr>
				<tr><td> 5th</td><td>+3</td><td class="left">—</td><td>3</td><td>6</td><td>14</td><td>3rd</td></tr>
				<tr><td> 6th</td><td>+3</td><td class="left">—</td><td>3</td><td>7</td><td>17</td><td>3rd</td></tr>
				<tr><td> 7th</td><td>+3</td><td class="left">—</td><td>3</td><td>8</td><td>23</td><td>4th</td></tr>
				<tr><td> 8th</td><td>+3</td><td class="left">—</td><td>3</td><td>9</td><td>26</td><td>4th</td></tr>
				<tr><td> 9th</td><td>+4</td><td class="left">—</td><td>3</td><td>10</td><td>28</td><td>5th</td></tr>
				<tr><td>10th</td><td>+4</td><td class="left">—</td><td>4</td><td>10</td><td>32</td><td>5th</td></tr>
				<tr><td>11th</td><td>+4</td><td class="left">—</td><td>4</td><td>11</td><td>33</td><td>5th</td></tr>
				<tr><td>12th</td><td>+4</td><td class="left">—</td><td>4</td><td>11</td><td>34</td><td>5th</td></tr>
				<tr><td>13th</td><td>+5</td><td class="left">—</td><td>4</td><td>12</td><td>35</td><td>5th</td></tr>
				<tr><td>14th</td><td>+5</td><td class="left">—</td><td>4</td><td>12</td><td>36</td><td>5th</td></tr>
				<tr><td>15th</td><td>+5</td><td class="left">—</td><td>4</td><td>13</td><td>37</td><td>5th</td></tr>
				<tr><td>16th</td><td>+5</td><td class="left">—</td><td>4</td><td>13</td><td>38</td><td>5th</td></tr>
				<tr><td>17th</td><td>+6</td><td class="left">—</td><td>4</td><td>14</td><td>39</td><td>5th</td></tr>
				<tr><td>18th</td><td>+6</td><td class="left">—</td><td>4</td><td>14</td><td>42</td><td>5th</td></tr>
				<tr><td>19th</td><td>+6</td><td class="left">—</td><td>4</td><td>15</td><td>41</td><td>5th</td></tr>
				<tr><td>20th</td><td>+6</td><td class="left">—</td><td>4</td><td>15</td><td>40</td><td>5th</td></tr>
            </table>
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTLBLADE_SPELLCASTING" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_CUNNING_ACTION" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOWHAND" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHTEYE" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_ABILITY_SCORE_IMPROVEMENT" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOW_STEP" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_MAGICAL_AMBUSH" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHT_MAGIC" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_VERSATILE_TRICKSTER" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SPELL_THIEF" />
			<div element="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADE" />
		</description>
		<sheet display="false">
			<description>A sinister spellcaster who uses their magics to enhance mobility, concealment, and stealthy close combat.</description>
		</sheet>
		<setters>
			<set name="short">A sinister spellcaster who uses their magics to enhance mobility, concealment, and stealthy close combat.</set>
			<set name="hd">d8</set>
		</setters>
		<rules>
			<grant type="Proficiency" id="ID_PROFICIENCY_ARMOR_PROFICIENCY_LIGHT_ARMOR" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Proficiency" id="ID_UESTRPG_TRAIT_LONG_BLADE_PROFICIENCY" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Proficiency" id="ID_UESTRPG_TRAIT_SHORT_BLADE_PROFICIENCY" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Proficiency" id="ID_UESTRPG_TRAIT_MARKSMAN_PROFICIENCY" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Proficiency" id="ID_PROFICIENCY_SAVINGTHROW_DEXTERITY" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Proficiency" id="ID_PROFICIENCY_SAVINGTHROW_INTELLIGENCE" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<select type="Proficiency" name="Skill Proficiency (Nightblade)" supports="ID_PROFICIENCY_SKILL_ACROBATICS|ID_PROFICIENCY_SKILL_ARCANA|ID_PROFICIENCY_SKILL_ATHLETICS|ID_PROFICIENCY_SKILL_DECEPTION|ID_PROFICIENCY_SKILL_INSIGHT|ID_PROFICIENCY_SKILL_INVESTIGATION|ID_PROFICIENCY_SKILL_HISTORY|ID_PROFICIENCY_SKILL_PERCEPTION|ID_PROFICIENCY_SKILL_SLEIGHTOFHAND|ID_PROFICIENCY_SKILL_STEALTH" number="3" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<select type="Proficiency" name="Tool Proficiency (Nightblade)" supports="ID_PROFICIENCY_TOOL_PROFICIENCY_THIEVES_TOOLS|ID_PROFICIENCY_TOOL_PROFICIENCY_DISGUISE_KIT|ID_PROFICIENCY_TOOL_PROFICIENCY_FORGERY_KIT|ID_PROFICIENCY_TOOL_PROFICIENCY_POISONERS_KIT" number="1" requirements="!ID_UESTRPG_MULTICLASS_NIGHTBLADE" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTLBLADE_SPELLCASTING" level="1"/>
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_CUNNING_ACTION" level="2" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOWHAND" level="2" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHTEYE" level="3" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_ABILITY_SCORE_IMPROVEMENT" level="4" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOW_STEP" level="5" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_MAGICAL_AMBUSH" level="9" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHT_MAGIC" level="11" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_VERSATILE_TRICKSTER" level="13" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SPELL_THIEF" level="18" />
			<grant type="Class Feature" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADE" level="20" />
		</rules>
		<multiclass id="ID_UESTRPG_MULTICLASS_NIGHTBLADE">
			<prerequisite>Agility 13 and Personality 13</prerequisite>
			<requirements>([dex:13],[cha:13])</requirements>
			<setters>
				<set name="multiclass proficiencies">Light armor, short blades, one skill from the class's skill list, one tool from the class's tool list.</set>
			</setters>
			<rules>
				<grant type="Grants" id="ID_INTERNAL_GRANT_MULTICLASS" />
				<grant type="Proficiency" id="ID_PROFICIENCY_ARMOR_PROFICIENCY_LIGHT_ARMOR" />
				<grant type="Proficiency" id="ID_UESTRPG_TRAIT_SHORT_BLADE_PROFICIENCY" />
				<select type="Proficiency" name="Skill Proficiency (Nightblade)" supports="ID_PROFICIENCY_SKILL_ACROBATICS|ID_PROFICIENCY_SKILL_ARCANA|ID_PROFICIENCY_SKILL_ATHLETICS|ID_PROFICIENCY_SKILL_DECEPTION|ID_PROFICIENCY_SKILL_INSIGHT|ID_PROFICIENCY_SKILL_INVESTIGATION|ID_PROFICIENCY_SKILL_HISTORY|ID_PROFICIENCY_SKILL_PERCEPTION|ID_PROFICIENCY_SKILL_SLEIGHTOFHAND|ID_PROFICIENCY_SKILL_STEALTH" number="3" />
				<select type="Proficiency" name="Tool Proficiency (Nightblade)" supports="ID_PROFICIENCY_TOOL_PROFICIENCY_THIEVES_TOOLS|ID_PROFICIENCY_TOOL_PROFICIENCY_DISGUISE_KIT|ID_PROFICIENCY_TOOL_PROFICIENCY_FORGERY_KIT|ID_PROFICIENCY_TOOL_PROFICIENCY_POISONERS_KIT" number="1" />
			</rules>
		</multiclass>
	</element>

	<element name="Spellcasting" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTLBLADE_SPELLCASTING">
		<description>
			<p>Your arcane research grants you the ability to cast spells.</p>
			<h5>CANTRIPS</h5>
			<p>You know cantrips of your choice from the nightblade spell list. You learn additional nightblade cantrips of your choice at higher levels, as shown in the Cantrips Known column of the Nightblade table.</p>
			<h5>MAGICKA</h5>
			<p>The Nightblade table shows how much magicka you have to cast your nightblade spells of 1st level and higher. The table also shows what the level spells you can cast. To cast one of your nightblade spells of 1st level or higher, must expend magicka, as noted in the spell's description and the Magicka Cost table found in chapter 10. You regain all expended magicka when you finish a short or long rest.</p>
			<p class="indent">For example, if you know the 1st-level spell <em>witch bolt</em> and have a Spell Level of 2nd, you can cast <em>witch bolt</em> using magicka to cast it at either level.</p>
			<h5>SPELLS KNOWN OF 1ST LEVEL AND HIGHER</h5>
			<p>At 1st level, you know two 1st-level spells of your choice from the nightblade spell list.</p>
			<p class="indent">The Spells Known column of the Nightblade table shows when you learn more nightblade spells of your choice of 1st level and higher. A spell you choose must be of a level no higher than what’s shown in the table's Spell Level column for your level. When you reach 6th level, for example, you learn a new nightblade spell, which can be 1st, 2nd, or 3rd level.</p>
			<p class="indent">Additionally, when you gain a level in this class, you can choose one of the nightblade spells you know and replace it with another spell from the nightblade spell list, which also must be of a level for which you have spell slots.</p>
			<h5>SPELLCASTING ATTRIBUTE</h5>
			<p>Personality is your spellcasting attribute for your nightblade spells, so you use your Personality whenever a spell refers to your spellcasting attribute. In addition, you use your Personality modifier when setting the saving throw DC for a nightblade spell you cast and when making an attack roll with one.</p>
			<center>
				<p><strong>Spell save DC</strong> = 8 + your proficiency bonus + your Personality modifier</p>
				<p><strong>Spell attack modifier</strong> = your proficiency bonus + your Personality modifier</p>
			</center>
		</description>
		<sheet display="false">
			<description></description>
		</sheet>
		<spellcasting name="Nightblade" ability="Charisma" replace="true">
			<list>Nightblade</list>
		</spellcasting>
		<rules>
			<!-- <grant type="Grants" id="ID_INTERNAL_GRANT_MULTICLASS_SPELLCASTING_SLOTS_FULL" requirements="ID_INTERNAL_GRANT_MULTICLASS" /> -->
			<stat name="magicka" value="2" level="1" />
			<stat name="magicka" value="2" level="2" />
			<stat name="magicka" value="3" level="3" />
			<stat name="magicka" value="2" level="4" />
			<stat name="magicka" value="5" level="5" />
			<stat name="magicka" value="3" level="6" />
			<stat name="magicka" value="6" level="7" />
			<stat name="magicka" value="3" level="8" />
			<stat name="magicka" value="3" level="9" />
			<stat name="magicka" value="3" level="10" />
			<stat name="magicka" value="1" level="11" />
			<stat name="magicka" value="1" level="12" />
			<stat name="magicka" value="1" level="13" />
			<stat name="magicka" value="1" level="14" />
			<stat name="magicka" value="1" level="15" />
			<stat name="magicka" value="1" level="16" />
			<stat name="magicka" value="1" level="17" />
			<stat name="magicka" value="1" level="18" />
			<stat name="magicka" value="1" level="19" />
			<stat name="magicka" value="1" level="20" />
			<stat name="nightblade:spellcasting:slots:1" value="1" level="1" />
			<stat name="nightblade:spellcasting:slots:2" value="1" level="3" />
			<stat name="nightblade:spellcasting:slots:3" value="1" level="5" />
			<stat name="nightblade:spellcasting:slots:4" value="1" level="7" />
			<stat name="nightblade:spellcasting:slots:5" value="1" level="9" />

			<select type="Spell" name="Cantrip (Nightblade)" supports="$(spellcasting:list),0" level="1" number="2" spellcasting="Nightblade" />
			<select type="Spell" name="Cantrip (Nightblade)" supports="$(spellcasting:list),0" level="4" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Cantrip (Nightblade)" supports="$(spellcasting:list),0" level="10" number="1" spellcasting="Nightblade"/>

			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="1" number="2" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="2" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="3" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="4" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="5" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="6" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="7" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="8" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="9" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="11" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="13" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="15" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="17" number="1" spellcasting="Nightblade"/>
			<select type="Spell" name="Spell (Nightblade)" supports="$(spellcasting:list),$(spellcasting:slots)" level="19" number="1" spellcasting="Nightblade"/>
		</rules>
	</element>

<!-- CLASS FEATURES -->

	<element name="Path of Darkness" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_PATH_OF_DARKNESS">
		<description>
			<p>At 1st level, choose a path of darkness, which describes your devotion as a nightblade. Choose either Betrayer, Deathless, Seeker, Shadowmage, or Trickster, which are detailed at the end of the class description. Your path grants you features at 1st level, and then again at 6th, 10th, and 14th level.</p>
		</description>
		<sheet display="false" />
		<rules>
			<select type="Archetype" name="Path of Darkness" supports="Path of Darkness" />
		</rules>
	</element>

	<element name="Cunning Action" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_CUNNING_ACTION">
		<description>
			<p>Starting at 2nd level, your quick thinking and agility allows you to move and act quickly. You can take a bonus action on each of your turns in combat. This action can be used only to take the Dash, Disengage, or Hide action.</p>
		</description>
		<sheet>
			<description>You can take a bonus action on each of your turns in combat. This action can be used only to take the Dash, Disengage, or Hide action.
			</description>
		</sheet>
	</element>

	<element name="Shadowhand" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOWHAND">
		<description>
			<p>Starting at 2nd level, you learn the mage hand cantrip. If you already know this cantrip, you learn a different cantrip of your choice from the nightblade spell list. This cantrip doesn't count against your number of cantrips known. </p>
      		<p class="indent">When you cast mage hand, you can make the spectral hand invisible, and you can perform the following additional tasks with it:</p>
			<ul>
				<li>You can stow one object the hand is holding in a container worn or carried by another creature.</li>
				<li>You can retrieve an object in a container worn or carried by another creature.</li>
				<li>You can use thieves’ tools to pick locks and disarm traps at range.</li>
			</ul>
			<p class="indent">You can perform one of these tasks without being noticed by a creature if you succeed on an Agility (Sleight of Hand) check contested by the creature’s Willpower (Perception) check. </p>
			<p class="indent">In addition, you can use the bonus action granted by your Cunning Action to control the hand.</p>
		</description>
		<sheet>
			<description>When you cast mage hand, you can make the spectral hand invisible, and you can perform the following additional tasks with it:
			You can stow one object the hand is holding in a container worn or carried by another creature.
			You can retrieve an object in a container worn or carried by another creature.
			You can use thieves’ tools to pick locks and disarm traps at range.
			You can perform one of these tasks without being noticed by a creature if you succeed on an Agility (Sleight of Hand) check contested by the creature’s Willpower (Perception) check.
			In addition, you can use the bonus action granted by your Cunning Action to control the hand.
			</description>
		</sheet>
		<rules>
			<select type="Spell" name="Cantrip (Shadowhand)" supports="Nightblade,0" spellcasting="Nightblade" default="ID_PHB_SPELL_MAGE_HAND" default-behaviour="force" />
		</rules>
	</element>

	<element name="Nighteye" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHTEYE">
		<description>
			<p>At 3rd level, you have naturally adjusted to being in darkness. You gain darkvision and can see in dim light within 120 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of gray.</p>
		</description>
		<sheet display="false">
			<description></description>
		</sheet>
		<rules>
			<grant type="Vision" id="ID_VISION_SUPERIORDARKVISION" />
		</rules>
	</element>

	<element name="Ability Score Improvement" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_ABILITY_SCORE_IMPROVEMENT">
		<compendium display="false" />
		<description>
			<p>When you reach 4th level, and again at 8th, 12th, 16th, and 19th level, you can increase one ability score of your choice by 2, or you can increase two ability scores of your choice by 1. As normal, you can't increase an ability score above 20 using this feature.</p>
		</description>
		<sheet display="false" />
		<rules>
			<select type="Class Feature" name="Improvement Option (Nightblade 4)" supports="Improvement Option,Nightblade,4" level="4" />
			<select type="Class Feature" name="Improvement Option (Nightblade 8)" supports="Improvement Option,Nightblade,8" level="8" />
			<select type="Class Feature" name="Improvement Option (Nightblade 12)" supports="Improvement Option,Nightblade,12" level="12" />
			<select type="Class Feature" name="Improvement Option (Nightblade 16)" supports="Improvement Option,Nightblade,16" level="16" />
			<select type="Class Feature" name="Improvement Option (Nightblade 19)" supports="Improvement Option,Nightblade,19" level="19" />
		</rules>
	</element>

	<element name="Shadow Step" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADOW_STEP">
		<description>
			<p>At 5th level, you gain the ability to step from one shadow into another. When you are in dim light or darkness, as a bonus action you can teleport up to 60 feet to an unoccupied space you can see that is also in dim light or darkness. Additionally, you can teleport into a shadow cast by another creature within range when you are not in dim light or darkness. You then have advantage on the first melee attack you make before the end of your turn.</p>
		</description>
		<sheet action="Bonus Action">
			<description>When you are in dim light or darkness, you can teleport up to 60 feet to an unoccupied space you can see that is also in dim light or darkness. Additionally, you can teleport into a shadow cast by another creature within range when you are not in dim light or darkness. You then have advantage on the first melee attack you make before the end of your turn.</description>
		</sheet>
	</element>

	<element name="Magical Ambush" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_MAGICAL_AMBUSH">
		<description>
			<p>At 9th level, if you are hidden from a creature when you cast a spell on it, the creature has disadvantage on any saving throw it makes against the spell this turn.</p>
		</description>
		<sheet>
			<description>If you are hidden from a creature when you cast a spell on it, the creature has disadvantage on any saving throw it makes against the spell this turn.</description>
		</sheet>
	</element>

	<element name="Night Magic" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_NIGHT_MAGIC">
		<description>
			<p>At 11th level, your continued research in the esoteric studies of shadow magic has unlocked an arcane secret known as night magic. Choose one 6th-level spell from the nightblade spell list. You can cast this unique spell once without expending any magicka. You must finish a long rest before you can do so again.</p>
      		<p class="indent">At higher levels, you gain more nightblade spells of your choice that can be cast in this way: one 7th-level spell at 13th level, one 8th-level spell at 15th level, and one 9th-level spell at 17th level. You regain all uses of your Night Magic spells when you finish a long rest.</p>
		</description>
		<sheet usage="1/Long Rest">
			<description>You can cast each Night Magic spell without using magicka.</description>
		</sheet>
		<spellcasting name="Night Magic" ability="Charisma" replace="false">
			<list>Nightblade</list>
		</spellcasting>
		<rules>
			<select type="Spell" name="Spell (Night Magic)" supports="$(spellcasting:list),6" level="11" number="1" spellcasting="Night Magic"/>
			<select type="Spell" name="Spell (Night Magic)" supports="$(spellcasting:list),7" level="13" number="1" spellcasting="Night Magic"/>
			<select type="Spell" name="Spell (Night Magic)" supports="$(spellcasting:list),8" level="15" number="1" spellcasting="Night Magic"/>
			<select type="Spell" name="Spell (Night Magic)" supports="$(spellcasting:list),9" level="17" number="1" spellcasting="Night Magic"/>
		</rules>
	</element>

	<element name="Versatile Trickster" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_VERSATILE_TRICKSTER">
		<description>
			<p>At 13th level, you gain the ability to distract targets with your mage hand. As a bonus action on your turn, you can designate a creature within 5 feet of the spectral hand created by the spell. Doing so gives you advantage on attack rolls against that creature until the end of the turn.</p>
		</description>
		<sheet action="Bonus Action">
			<description>As a bonus action on your turn, you can designate a creature within 5 feet of the spectral hand created by the mage hand spell. Doing so gives you advantage on attack rolls against that creature until the end of the turn.</description>
		</sheet>
	</element>

	<element name="Spell Thief" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SPELL_THIEF">
		<description>
			<p>At 18th level, you gain the ability to magically steal the knowledge of how to cast a spell from another spellcaster.</p>
			<p class="indent">Immediately after a creature casts a spell that targets you or includes you in its area of effect, you can use your reaction to force the creature to make a saving throw with it's spellcasting attribute modifier. The DC equals your spell save DC. On a failed save, you negate the spell effect against you, and you steal the knowledge of the spell if it is at least 1st level and of a level that you can cast (it doesn't need to be a nightblade spell). For the next 8 hours, you know the spell and can cast it, using magicka as normal. The creature can't cast that spell until 8 hours have passed.</p>
			<p class="indent">Once you use this feature, you can't use it again until you finish a long rest.</p>
		</description>
		<sheet action="Reaction" usage="1/Long Rest">
			<description>Immediately after a creature casts a spell that targets you or includes you in its area of effect, you can use your reaction to force the creature to make a saving throw with it's spellcasting attribute modifier. The DC equals your spell save DC. On a failed save, you negate the spell effect against you, and you steal the knowledge of the spell if it is at least 1st level and of a level that you can cast (it doesn't need to be a nightblade spell). For the next 8 hours, you know the spell and can cast it, using magicka as normal. The creature can't cast that spell until 8 hours have passed.</description>
		</sheet>
	</element>

	<element name="Shade" type="Class Feature" source="UESTRPG" id="ID_UESTRPG_CLASS_FEATURE_NIGHTBLADE_SHADE">
		<description>
			<p>When you reach 20th level, you have mastered the dark arts of shadow magic, allowing you to call into the shadow realms and bring forth your own shadow. As a bonus action on your turn, you can summon a shadowy version of yourself which appears from your shadow. This creature shares all of your statistics, including your current hit points, and is wearing the same equipment as you. The shade can communicate with you telepathically, knows everything that you know, and shares your alignment, background, and motivations. The shade disappears when it drops to 0 hit points, or you use a bonus action to dismiss it back to the shadow realm.</p>
			<p class="indent">As a part of your turn, you can direct the shade to move a distance equal to your speed. You can also direct the shade to make one weapon attack.</p>
			<p class="indent">Additionally, as a bonus action on your turn, you can swap places with your shade, as long as you are within 60 feet of each other.</p>
			<p class="indent">Once you use this feature, you must finish a long rest before you can use it again.</p>
		</description>
		<sheet action="Bonus Action" usage="1/Long Rest">
			<description>As a bonus action on your turn, you can summon a shadowy version of yourself which appears from your shadow. This creature shares all of your statistics, including your current hit points, and is wearing the same equipment as you. The shade can communicate with you telepathically, knows everything that you know, and shares your alignment, background, and motivations. The shade disappears when it drops to 0 hit points, or you use a bonus action to dismiss it back to the shadow realm.
			As a part of your turn, you can direct the shade to move a distance equal to your speed. You can also direct the shade to make one weapon attack.
			Additionally, as a bonus action on your turn, you can swap places with your shade, as long as you are within 60 feet of each other.</description>
		</sheet>
	</element>
	
<!-- ARCHETYPE: PATH OF DARKNESS -->

</elements>
