<?xml version="1.0" encoding="utf-8" ?>
<elements>

  <element name="Namielle Dragonborn" type="Race" source="Amellwind's Guide to Monster Hunting" id="ID_RACE_NAMIELE_DRAGONBORN">
    <description>
      <p>Namielle dragonborn have large needle-shaped teeth, like a deep-sea fish, and may have multiple long whiskers that resemble jellyfish-like tendrils. Normally their body is colored black and a deep sea blue, accented by a vibrant red while parts of their face and limbs glow with a bioluminescent light that pulses with the colors of the rainbow. When they haven't spent time in the rain or in water, their scales dry out changing to a milky tan coloring.</p>
      <h4>NAMIELLE TRAITS</h4>
      <p>
        <span class="feature">Ability Score Increase.</span> Ability Score Increase. Your Constitution score increases by 2, and your Dexterity 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, and you have a swimming speed of 30 feet.<br/>
        <span class="feature">Amphibious.</span> You can breathe air and water.<br/>
        <span class="feature">Breath Weapon.</span> Your breath weapon is a 5 by 30 foot line (Con. save) that deals cold damage.<br/>
        <span class="feature">Bone Armor.</span> You have resistance to your choice of one of the following damage types: cold damage or lightning damage.<br/>
        <span class="feature">Waterbending.</span> You know the shape water cantrip.<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="constitution" value="2"/>
	    <stat name="dexterity" value="1"/>
      <stat name="innate speed" value="30" bonus="base"/>
      <stat name="innate speed:swim" 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" />
      <select type="Racial Trait" name="Condition Resistance (Namielle Dragonborn)" supports="ID_RACIAL_TRAIT_RESISTANCE_LIGHTNING|ID_RACIAL_TRAIT_RESISTANCE_COLD" />
      <grant type="Racial Trait" id="ID_RACIAL_TRAIT_BREATH_WEAPON" />
	    <grant type="Racial Trait" id="ID_RACIAL_TRAIT_WATERBENDING" />
    </rules>
  </element>


  <element name="Breath Weapon" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_BREATH_WEAPON">
    <description>
      <p>From your hands you fire two 5 by 15 foot lines of draconic energy that deal necrotic damage (Con. save). After using your breath weapon, you cannot use them again until you complete a short or long rest.</p>
    </description>
    <sheet action="Action" usage="1/Short Rest">
			<description>You exhalea 5 by 30 foot line of draconic energy. Your beams do {{breath-weapon:dice count}}d{{breath-weapon:dice size}} cold damage in two 5 by 15 foot lines. DC {{breath-weapon:dc}} Con.</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="Waterbending" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_WATERBENDING">
    <description>
			<p>You know the shape water cantrip.</p>
		</description>
		<sheet>
			<description>You know the shape water cantrip.</description>
		</sheet>
		<rules>
			<grant type="Spell" id="ID_POTA_SPELL_SHAPEWATER" />
		</rules>
	</element>

  <element name="Lightning Resistance" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_RESISTANCE_LIGHTNING">
    <description>
			<p>You have resistance to lightning damage.</p>
		</description>
		<sheet display="false" />
		<rules>
			<grant type="Condition" id="ID_INTERNAL_CONDITION_DAMAGE_RESISTANCE_LIGHTNING" />
		</rules>
	</element>

  <element name="Cold Resistance" type="Racial Trait" source="Amellwind's Guide to Monster Hunting" id="ID_RACIAL_TRAIT_RESISTANCE_COLD">
    <description>
			<p>You have resistance to cold damage.</p>
		</description>
		<sheet display="false" />
		<rules>
			<grant type="Condition" id="ID_INTERNAL_CONDITION_DAMAGE_RESISTANCE_COLD" />
		</rules>
	</element>

</elements>
