<?xml version="1.0" encoding="utf-8" ?>
<elements>

  <element name="Fatalis Dragonborn" type="Race" source="Amellwind's Guide to Monster Hunting" id="ID_RACE_FATALIS_DRAGONBORN">
    <description>
      <p>Fatalis dragonborn look similar to a regular dragonborn, except each day their scales change color. Fatalis dragonborn that live within society tend to only show themselves when they are one color, or cover themselves almost entirely. Outcasts or those who lean more towards evil, proudly show their heritage at all times</p>
      <h4>FATALIS TRAITS</h4>
      <p>
        <span class="feature">Ability Score Increase.</span> Your Strength score increases by 2, and your Charisma score increases by 1.<br/>
        <span class="feature">Age.</span> Young dragonborn grow quickly. They walk hours after hatching, attain the size and development of a 10-year-old human child by the age of 3, and reach adulthood by 15. They live to be around 80.<br/>
        <span class="feature">Alignment.</span> Dragonborn tend to extremes, making a conscious choice for one side or the other in the cosmic war between good and evil (represented by Bahamut and Tiamat, respectively). Most dragonborn are good, but those who side with Tiamat can be terrible villains.<br/>
        <span class="feature">Size.</span> Dragonborn are taller and heavier than humans, standing well over 6 feet tall and averaging almost 250 pounds. Your size is Medium.<br/>
        <span class="feature">Speed.</span> Your base walking speed is 30 feet.<br/>
        <span class="feature">Darkvision.</span> You can see in dim light within 60 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.<br/>
        <span class="feature">Elder Ancestry.</span> You have advantage on saving throws against being charmed, and frightened.<br/>
		    <span class="feature">Shifting Scales.</span> Your scales change color daily. This determines your draconic resistance and breath weapon for the day. Each day at dawn, roll a d3 and refer to the table below to determine your scale's color.<br/>
        <span class="feature">Breath Weapon.</span>Your shifting scales determines the size, shape, and damage type of the exhalation. When you use your breath weapon, each creature in the area of the exhalation must make a saving throw, the type of which is determined by your draconic ancestry. The DC for this saving throw equals 8 + your Constitution modifier + your proficiency bonus. A creature takes 2d6 damage on a failed save, and half as much damage on a successful one. The damage increases to 3d6 at 6th level, 4d6 at 11th level, and 5d6 at 16th level. After you use your breath weapon, you can’t use it again until you complete a short or long rest.<br />
        <table>
  				<thead>
  					<tr><td>d3</td><td>Color</td><td>Draconic Resistance</td><td>Breath Weapon</td></tr>
  				</thead>
  				<tr><td>1</td><td>Black</td><td>Necrotic</td><td>Black Fire (Dex. save)</td></tr>
  				<tr><td>2</td><td>Red</td><td>Fire</td><td>Crimson Demon's Breath (Dex. save)</td></tr>
  				<tr><td>3</td><td>White</td><td>Lightning</td><td>Emperor's Roar (Dex. save)</td></tr>
  			</table>
	     	<span class="feature">Black Fire.</span> When you use your breath weapon, you exhale black flames in a 15-foot cone. The damage dealt by this breath weapon is half necrotic and half fire. If the damage die is odd, the last die is dealt as necrotic damage.<br/>
	     	<span class="feature">Crimson Demon's Breath.</span> When you use your breath weapon, you exhale black flames in a 5 by 30-foot line. The damage dealt by this breath weapon is half necrotic and half fire. If the damage die is odd, the last die is dealt as fire damage.<br/>
        <span class="feature">Emperor's Roar.</span> When you use your breath weapon, you let out a cacophonous roar, calling down red lightning that strikes down in a 5-foot radius around you.<br/>
        <span class="feature">Languages.</span> You can speak, read, and write Common and Draconic. Draconic is thought to be one of the oldest languages and is often used in the study of magic. The language sounds harsh to most other creatures and includes numerous hard consonants and sibilants.<br/>
      </p>
    </description>
    <sheet display="false" />
    <rules>
      <stat name="strength" value="2"/>
	    <stat name="charisma" value="1"/>
      <stat name="innate speed" value="30" bonus="base"/>
      <grant type="Size" id="ID_SIZE_MEDIUM" />
      <grant type="Language" id="ID_LANGUAGE_COMMON" />
      <grant type="Language" id="ID_LANGUAGE_DRACONIC" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_DARKVISION" />
	    <grant type="Racial Trait" id="ID_RACIAL_TRAIT_ELDER_ANCESTRY" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_SHIFTING_SCALES" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_BREATH_WEAPON" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_BLACK_FIRE" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_CRIMSON_DEMONS_BREATH" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_EMPERORS_ROAR" />
    </rules>
  </element>


  <element name="Darkvision" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_DARKVISION">
		<description>
			<p>You can see in dim light within 60 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>
			<description>You can see in dim light within 60 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.</description>
		</sheet>
	</element>

  <element name="Elder Ancestry" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_ELDER_ANCESTRY">
    <description>
      <p>You have advantage on saving throws against being charmed, and frightened.</p>
    </description>
    <sheet>
      <description>You have advantage on saving throws against being charmed, and frightened.</description>
    </sheet>
  </element>

  <element name="Shifting Scales" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_SHIFTING_SCALES">
    <description>
      <p>Your scales change color daily. This determines your draconic resistance and breath weapon for the day. Each day at dawn, roll a d3 and refer to the table below to determine your scale's color.</p>
    </description>
    <sheet>
      <description>Your scales change color daily. This determines your draconic resistance and breath weapon for the day. Each day at dawn, roll a d3 and refer to the table below to determine your scale's color.</description>
    </sheet>
  </element>

  <element name="Breath Weapon" type="Racial Trait" source="Player’s Handbook" id="ID_RACIAL_TRAIT_BREATH_WEAPON">
		<description>
			<p>You can use your action to exhale destructive energy. Your draconic ancestry determines the size, shape, and damage type of the exhalation.</p>
			<p>When you use your breath weapon, each creature in the area of the exhalation must make a saving throw, the type of which is determined by your draconic ancestry. The DC for this saving throw equals 8 + your Constitution modifier + your proficiency bonus. A creature takes 2d6 damage on a failed save, and half as much damage on a successful one. The damage increases to 3d6 at 6th level, 4d6 at 11th level, and 5d6 at 16th level.</p>
			<p>After you use your breath weapon, you can’t use it again until you complete a short or long rest.</p>
		</description>
		<sheet action="Action" usage="1/Short Rest">
			<description>Exhale destructive energy. Your breath weapon does {{breath-weapon:dice count}}d{{breath-weapon:dice size}} (damage determined by scales for the day) in a Dexterity DC {{breath-weapon:dc}}</description>
		</sheet>
		<rules>
			<stat name="breath-weapon:dc" value="8" />
			<stat name="breath-weapon:dc" value="constitution:modifier" />
			<stat name="breath-weapon:dc" value="proficiency" />
			<stat name="breath-weapon:dice size" value="6" bonus="dice" />
			<stat name="breath-weapon:dice count" value="2" level="1" />
			<stat name="breath-weapon:dice count" value="1" level="6" />
			<stat name="breath-weapon:dice count" value="1" level="11" />
			<stat name="breath-weapon:dice count" value="1" level="16" />
		</rules>
	</element>

  <element name="Black Fire" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_BLACK_FIRE">
    <description>
      <p>When you use your breath weapon, you exhale black flames in a 15-foot cone. The damage dealt by this breath weapon is half necrotic and half fire. If the damage die is odd, the last die is dealt as necrotic damage.</p>
    </description>
    <sheet action="Action" usage="1/Short Rest">
			<description>Exhale destructive energy. Your breath weapon does {{breath-weapon:dice count}}d{{breath-weapon:dice size}} half necrotic and half fire damage in a 15 foot cone. DC {{breath-weapon:dc}} Dex.</description>
		</sheet>
		<rules>
			<stat name="breath-weapon:dc" value="8" />
			<stat name="breath-weapon:dc" value="dexterity:modifier" />
			<stat name="breath-weapon:dc" value="proficiency" />
			<stat name="breath-weapon:dice size" value="6" bonus="dice" />
			<stat name="breath-weapon:dice count" value="2" level="1" />
			<stat name="breath-weapon:dice count" value="1" level="6" />
			<stat name="breath-weapon:dice count" value="1" level="11" />
			<stat name="breath-weapon:dice count" value="1" level="16" />
		</rules>
	</element>

  <element name="Crimon Demon's Breath" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_CRIMSON_DEMONS_BREATH">
    <description>
      <p>When you use your breath weapon, you exhale black flames in a 5 by 30-foot line. The damage dealt by this breath weapon is half necrotic and half fire. If the damage die is odd, the last die is dealt as fire damage.</p>
    </description>
    <sheet action="Action" usage="1/Short Rest">
			<description>Exhale destructive energy. Your breath weapon does {{breath-weapon:dice count}}d{{breath-weapon:dice size}} half necrotic and half fire damage in a 15 foot cone. DC {{breath-weapon:dc}} Dex.</description>
		</sheet>
		<rules>
			<stat name="breath-weapon:dc" value="8" />
			<stat name="breath-weapon:dc" value="dexterity:modifier" />
			<stat name="breath-weapon:dc" value="proficiency" />
			<stat name="breath-weapon:dice size" value="6" bonus="dice" />
			<stat name="breath-weapon:dice count" value="2" level="1" />
			<stat name="breath-weapon:dice count" value="1" level="6" />
			<stat name="breath-weapon:dice count" value="1" level="11" />
			<stat name="breath-weapon:dice count" value="1" level="16" />
		</rules>
  </element>

  <element name="Emperor's Roar" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_EMPERORS_ROAR">
    <description>
      <p>When you use your breath weapon, you let out a cacophonous roar, calling down red lightning that strikes down in a 5-foot radius around you.</p>
    </description>
    <sheet action="Action" usage="1/Short Rest">
			<description>Call down red lightning. Your breath weapon does {{breath-weapon:dice count}}d{{breath-weapon:dice size}} lightning damage in a 5 foot radius. DC {{breath-weapon:dc}} Dex.</description>
		</sheet>
		<rules>
			<stat name="breath-weapon:dc" value="8" />
			<stat name="breath-weapon:dc" value="constitution:modifier" />
			<stat name="breath-weapon:dc" value="proficiency" />
			<stat name="breath-weapon:dice size" value="6" bonus="dice" />
			<stat name="breath-weapon:dice count" value="2" level="1" />
			<stat name="breath-weapon:dice count" value="1" level="6" />
			<stat name="breath-weapon:dice count" value="1" level="11" />
			<stat name="breath-weapon:dice count" value="1" level="16" />
		</rules>
  </element>

</elements>
