<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thPrimGrd" name="Primal Guardian" description="{i}&quot;The world has suffered more than any slave, yet life still flowers in a few places. I have vowed to protect these places of pristine nature, and it&#146;s a promise I intend to keep.&quot;{/i}\nMuch of Athas is desolate and defiled, but the life of a world is difficult to quench altogether. In spite of the supernatural ruin visited over so much of the planet thousands of years ago, the vital force of Athas still flourishes in a few places&#151;the rain-misted jungles of the Forest Ridge, the green palm groves of hidden oases in the Tablelands, the majestic stands of giant cactus that dot the stony barrens in the wilds south of Tyr, creek-fed mountain vales, the dazzling blue waters of the Dragon&#146;s Bowl, and a thousand more secret refuges and lost springs.\n    Across the Tyr Region, sentinels stand watch over these surviving treasures, protecting them from pillaging or defiling at the hands of people too careless, desperate, or wicked to care whether their actions might murder one more piece of a gravely wounded world. These watchers and sentinels are the world&#146;s primal guardians, chosen by the spirits or selfappointed to defend the life of Athas.\n    Many primal guardians are hermits who live in or near the lands they guard. Legendary druids such as Enola, the mul guardian of the Dragon&#146;s Bowl, and Mearedes, the protector of the island of Shault, are excellent examples. Some of these individuals choose their tasks for themselves, freely taking up the mantle of guardianship over some rare and precious verdant patch hidden in the desert. Others are possessed by the primal spirits, haunted or maddened by visions and bound to the place of the land&#146;s need. Still other primal guardians belong to circles or brotherhoods collectively sworn to defend a wide area. Several such circles, consisting mostly of halfling druids and wardens, are scattered throughout the Forest Ridge. Another band known as the Crescent Circle works to defend the Crescent Forest between Gulg and Nibenay. Finally, a few circles are free-roaming orders or societies that keep watch over the whole of the Tyr Region, passing messages to each other and gathering to oppose great dangers when they arise.\n    Even if a primal guardian chooses a single locale to protect, he or she is free to wander the rest of the world. In fact, many guardians begin their careers with an extended time of wandering, learning the secrets of nature&#146;s balance throughout Athas and searching for the place of their calling. But even after this time comes to an end, the needs of all of Athas often draw a primal guardian into long journeys away from the place he or she wards.\n    Even more so than elemental priests, primal guardians are people of the deep desert and the remote wilderness. Where the elemental priests seek to instill reverence for the primal elements in the peoples of Athas, primal guardians seek to keep verdant lands hidden and unspoiled. Some conceal trails or wield magic to obscure their warded places, some lure dangerous beasts to lair in the right spot, some spread rumors of death and desolation, and a few kill anyone who comes across the place they are sworn to protect. A few lives are nothing when weighed against the life of the world, after all." compset="Theme" uniqueness="unique">
    <usesource source="DarkSun"/>
    <tag group="Hide" tag="Special" name="Special" abbrev="Special"/>
    <bootstrap thing="pwMoThun"></bootstrap>
    </thing>
  <thing id="pwNobReco2" name="Inspiring Recovery2" description="{b}Trigger:{/b} You succeed on a saving throw.\n{b}Effect:{/b} The target can make a saving throw with a +2 power bonus." compset="Power">
    <fieldval field="pwFlavor" value="When you shake off the lingering effects of an enemy&#146;s attack, you provide an ally with the inspiration to do the same."/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="One ally in the burst"/>
    <usesource source="Dragon"/>
    <tag group="ActionType" tag="Free"/>
    <tag group="PowerTheme" tag="thNoble"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="ReqLevel" tag="6"/>
    <tag group="PowerType" tag="Utility" name="Utility Power" abbrev="Utility"/>
    <tag group="PowerUse" tag="Encounter"/>
    </thing>
  <thing id="pwArmLivD" name="Armor of Living Dunes" description="{b}Effect:{/b} You assume the armor of living dunes form until the end of your next turn. While in this form, you are immune to forced movement. Once before the end of your next turn, you can use the Armor of Living Dunes Attack power." compset="Power">
    <fieldval field="pwFlavor" value="Primal spirits of sand, stone, and wood infuse your body with energy, transforming you into a creature of desert life and giving you the ability to hurl a blast of sand from your weapon."/>
    <usesource source="DarkSun"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="ReqLevel" tag="7"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="PowerType" tag="Encounter"/>
    <bootstrap thing="pwArmLivDA"></bootstrap>
    </thing>
  <thing id="pwLftWinds" name="Lifting Winds" description="{b}Effect:{/b} The target flies a number of squares equal to your primary ability modifier and lands at the end of this movement. Until the end of your next turn, when the target hits an enemy with a melee attack, he or she also pushes the enemy 1 square." compset="Power">
    <fieldval field="pwFlavor" value="Primal spirits riding fierce winds propel your ally into battle."/>
    <fieldval field="pwTarget" value="You or one ally in the burst"/>
    <fieldval field="pwRange1" value="10"/>
    <usesource source="BookVileDa"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ActionType" tag="Move"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="AttackVs" tag="defRef"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="ReqLevel" tag="6"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrInt]
attidstr = "attrInt"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwSaStep" name="Sandstep" description="{b}Effect:{/b}  You shift 3 squares. Until the end of your next turn, you gain concealment, as do your allies while they are adjacent to you." compset="Power">
    <fieldval field="pwFlavor" value="In a swirl of wind-driven sand, you move across the battlefield, and the sand obscures you and nearby allies."/>
    <usesource source="Dragon" parent="Adventure" name="Dragon Magazine"/>
    <tag group="ActionType" tag="Move"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="AttackType" tag="Personal"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ReqLevel" tag="2"/>
    </thing>
  <thing id="pwMoThun" name="Mark of Thunder" description="{b}Effect:{/b} You mark the target until the end of your next turn.\nUntil the mark ends, if the target makes an attack that does not include you, it takes 5 thunder damage.\nLevel 11: 10 thunder damage + 2[W] + ability modifier thunder damage.\nLevel 21: 15 thunder damage + 3[W] + ability modifier thunder damage." compset="Power">
    <fieldval field="pwTarget" value="One creature"/>
    <fieldval field="pwFlavor" value="You invoke the fading power of the world as you strike."/>
    <usesource source="DarkSun"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="PowerUse" tag="Encounter" name="Encounter Power" abbrev="Encounter"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="AttackType" tag="MeleeWep"/>
    <tag group="AttackVs" tag="defAC" name="Armor Class" abbrev="AC"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="Damage" tag="Weapon1"/>
    <tag group="DamageType" tag="Thunder"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrDex]
attidstr = "attrDex"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwBlmGrd" name="Balm of the Guardian" description="{b}Effect:{/b} You spend a healing surge. You regain hit points as normal, and each ally in the burst gains temporary hit points equal to one-half your level. The burst creates a zone that lasts until the end of your next turn. Each enemy within the zone gains vulnerable 5 thunder while it is within the zone." compset="Power">
    <fieldval field="pwFlavor" value="You leech the moisture from the area around you, directing it to your allies and creating kindling for the fire."/>
    <fieldval field="pwRange1" value="3"/>
    <usesource source="BookVileDa"/>
    <tag group="PowerType" tag="Utility" name="Utility Power" abbrev="Utility"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="EffectType" tag="Healing"/>
    <tag group="EffectType" tag="Zone"/>
    </thing>
  <thing id="pwSoDeb" name="Storm of Debris" description="{b}Effect:{/b} You assume the form of a storm of debris until the end of the encounter. While you are in this form, each enemy that starts its turn within 2 squares of you takes 5 thunder damage and is marked by you until the end of your next turn.\n\nOnce during the encounter while in this form, you can use the Storm of Debris Attack power.\n\nLevel 15: As above, but 10 thunder damage.\nLevel 25: As above, but 15 thunder damage." compset="Power">
    <fieldval field="pwFlavor" value="Splinters of wood, serrated leaves, and thorny brush whirl around you with thunderous fury, striking your foes and preventing their escape."/>
    <usesource source="DarkSun"/>
    <tag group="ReqLevel" tag="5"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="AttackType" tag="Personal"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="DamageType" tag="Thunder"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerUse" tag="Daily"/>
    <bootstrap thing="pwSoDebA"></bootstrap>
    </thing>
  <thing id="pwArmLand" name="Armor of the Land" description="{b}Trigger:{/b} An enemy adjacent to you moves willingly\n{b}Effect:{/b} You assume the armor of the land form until the end of your next turn. While in this form, you gain resist 5 to all damage. Once before the end of your next turn, you can make the following attack as an immediate interrupt.\n{b}Hit:{/b} Asides from the Damage, you knock the target prone.\nLevel 13: 3[W] + ability modifier thunder damage.\nLevel 23: 4[W] + ability modifier thunder damage." compset="Power">
    <fieldval field="pwFlavor" value="The land&#146;s blessings wrap themselves around you, encasing you in a shell of wood and stone and thunder."/>
    <fieldval field="pwTarget" value="The triggering enemy"/>
    <usesource source="DarkSun"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="AttackType" tag="Personal"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="DamageType" tag="Thunder"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerUse" tag="Encounter" name="Encounter Power" abbrev="Encounter"/>
    <tag group="Damage" tag="Weapon2"/>
    <tag group="AttackVs" tag="defFort"/>
    <tag group="ReqLevel" tag="3"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrDex]
attidstr = "attrDex"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwSoDebA" name="Storm of Debris Attack" description="{b}Requirement:{/b} The power Storm of Debris must be active in order to use this power.\n{b}Hit:{/b} Asides from the damage you slide the target 1 square. The target is also slowed (save ends).\nLevel 15: As above, but 2[W]+ability modifier thunder damage.\nLevel 25: As above, but 3[W]+ability modifier thunder damage." compset="Power">
    <fieldval field="pwTarget" value="Each creature in the burst"/>
    <fieldval field="pwRange1" value="2"/>
    <usesource source="DarkSun"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="DamageType" tag="Thunder"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="AttackVs" tag="defRef"/>
    <tag group="Damage" tag="Weapon1"/>
    <tag group="ReqLevel" tag="5"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrDex]
attidstr = "attrDex"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwArmLivDA" name="Armor of Living Dunes Attack" description="{b}Requirement:{/b} The power Armor of Living Dunes must be active in order to use this power.\n{b}Hit:{/b} Asides from the damage, you push the target 2 squares. In addition, the target is blinded until the end of your next turn.\nLevel 17: As above, but 2[W] + ability modifier damage.\nLevel 27: As above, but 3[W] + ability modifier damage." compset="Power">
    <fieldval field="pwFlavor" value="Primal spirits of sand, stone, and wood infuse your body with energy, transforming you into a creature of desert life and giving you the ability to hurl a blast of sand from your weapon."/>
    <fieldval field="pwTarget" value="Each creature in the blast"/>
    <fieldval field="pwRange1" value="3"/>
    <usesource source="DarkSun"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ReqLevel" tag="7"/>
    <tag group="AttackType" tag="CloseBlast"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackVs" tag="defRef"/>
    <tag group="Damage" tag="Weapon1"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrDex]
attidstr = "attrDex"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwWdStone" name="Of Wood and Stone" description="{b}Effect:{/b}  You assume the form of wood and stone until the end of the encounter. While you are in this form, you and all allies adjacent to you gain resist 5 to all damage and cannot be pulled, pushed, or slid unless you or the ally adjacent to you chooses to be.\n\nOnce before the end of the encounter while you are in this form, you can use the Of Wood and Stone Attack power." compset="Power">
    <fieldval field="pwFlavor" value="Angry primal spirits bind themselves to you, transforming your body into a hulking mass of rock and wood."/>
    <usesource source="DarkSun"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="ReqLevel" tag="9"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="AttackType" tag="Personal"/>
    <bootstrap thing="pwWdStnA"></bootstrap>
    </thing>
  <thing id="pwWdStnA" name="Of Wood and Stone Attack" description="{b}Requirement:{/b} The power Of Wood and Stone must be active in order to use this power.\n{b}Hit:{/b} Asides from the damage, the target is weakened until the end of your next turn.\nLevel 19: As above, but 2[W] + ability modifier damage.\nLevel 29: As above, but 3[W] + ability modifier damage." compset="Power">
    <fieldval field="pwTarget" value="Each enemy in the burst you can see"/>
    <fieldval field="pwRange1" value="1"/>
    <usesource source="DarkSun"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="PowerTheme" tag="thPrimGrd"/>
    <tag group="PowerSrc" tag="Primal"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="EffectType" tag="Polymorph"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="ReqLevel" tag="9"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="AttackVs" tag="defFort"/>
    <tag group="Damage" tag="Weapon1"/>
    <eval phase="Traits" priority="5000"><![CDATA[var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrDex]
attidstr = "attrDex"

~ Find highest bonus
foreach pick in hero from Attribute
  if (eachpick.field[attrBonus].value > bonus) then
    bonus = eachpick.field[attrBonus].value
    attidstr = eachpick.idstring
  endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  </document>
