<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thNblAdept" name="Noble Adept" description="{i}&quot;Sometimes I envy the little people&#151;the common citizens and slaves. No need to worry about political assassinations, no lessons to keep up with, no property to protect. All they need to do is survive.&quot;{/i}\n\nWithin the city-states, noble castes own more land and more slaves than anyone except the sorcererkings. The members of this social class are largely ineffectual puppets who have no real power, and only rarely do they muster the courage to oppose the plans of the sorcerer-kings. Even when they do so, it&#146;s not for the greater good. Most nobles watch out only for their own interests. They care nothing about what happens to people of lower castes, with the possible exception of people they own.\n    Though nobles lack true power, they gain many advantages due to their wealth. Nobles can read and write and can easily acquire food and water, which isn&#146;t true for much of the Athasian population. Every noble receives a basic education in psionics, either through a school or from a tutor hired by the noble&#146;s family, learning an array of psionic talents to better defend himself or herself against enemies or to command minions. Most lose interest in their training and fall into the same decadent malaise that pervades the noble caste. Only a rare few nobles fully develop their psionic talents, but those who do so are among the most capable and dangerous practitioners of the Way.\n\n{b}Noble Adept Power Point (1st level):{/b} You gain 1 power point.\n\nIf you choose a noble adept attack power of level 3 or 7 instead of a nonaugmentable encounter attack power at that level, you also gain 2 power points. If you do so with a power of level 13 or 17, you instead gain 4 power points, and if you do so with a power of level 23 or 27, you instead gain 6 power points. If you later relinquish your noble adept attack powers through retraining, you lose the power points you gained from the earlier choice." compset="Theme" uniqueness="unique">
    <usesource source="DarkSun"/>
    <tag group="Hide" tag="Special" name="Special" abbrev="Special"/>
    <bootstrap thing="pwAdtInsig"></bootstrap>
    <bootstrap thing="fNblAdpPP"></bootstrap>
    </thing>
  <thing id="pwAdtSlave" name="Slave&apos;s Sacrifice" description="{b}Trigger:{/b} You are hit by an attack.\n\n{b}Effect:{/b} You swap places with the target. The target becomes subject to the triggering attack instead of you and gains a +2 bonus to all defenses against the attack." compset="Power">
    <fieldval field="pwFlavor" value="Your ally takes your place, emboldened by a sudden notion that you are too important to be harmed."/>
    <fieldval field="pwRange1" value="1"/>
    <fieldval field="pwTarget" value="One willing ally in the burst"/>
    <usesource source="DarkSun"/>
    <tag group="PowerSrc" tag="Psionic"/>
    <tag group="PowerType" tag="Utility" name="Utility Power" abbrev="Utility"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="User" tag="AttrPhys"/>
    <tag group="ReqLevel" tag="2"/>
    <tag group="ActionType" tag="ImmedInt"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="AttackType" tag="CloseBurst"/>
    </thing>
  <thing id="pwAdtImp" name="Imperious Torture" description="{b}Hit:{/b} 2d6 + ability modifier psychic damage.\n\n{b}Effect:{/b} The target is affected by imperious torture (save ends). While the target is affected by imperious torture, once per round whenever an enemy within 5 squares of the target takes damage, the target takes psychic damage equal to your primary ability modifier. If the enemy was bloodied by that damage, the target also falls prone.\n\n{b}Level 15:{/b}\n\n{b}Hit:{/b} 4d6 + ability modifier psychic damage.\n\n{b}Level 25:{/b}\n\n{b}Hit:{/b} 6d6 + ability modifier psychic damage." compset="Power">
    <fieldval field="pwFlavor" value="Every thrilling strike and victorious attack your allies make tortures your enemy even more."/>
    <fieldval field="pwDamBase" value="2d6"/>
    <fieldval field="pwRange1" value="10"/>
    <fieldval field="pwTarget" value="One creature"/>
    <usesource source="DarkSun"/>
    <tag group="PowerSrc" tag="Psionic"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="ReqLevel" tag="5"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="AttackType" tag="Range"/>
    <tag group="AttackVs" tag="defWill"/>
    <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="pwAdtInsig" name="Adepts Insight" description="{b}Trigger:{/b} You or an ally in the burst makes an attack roll, saving throw, or skill check.\n\n{b}Effect:{/b} You add 1 to the triggering roll.\n\n{b}Augment 1{/b}\n{b}Effect:{/b}\ You instead add 1d4+1 to the triggering roll.\n\nLevel 11: 2d8 extra damage.\nLevel 21: 3d8 extra damage." compset="Power">
    <fieldval field="pwFlavor" value="With a mental focus, you enhance the undeniability of your actions."/>
    <fieldval field="pwRange1" value="5"/>
    <usesource source="DarkSun"/>
    <tag group="PowerType" tag="Encounter" name="Encounter Power" abbrev="Encounter"/>
    <tag group="ActionType" tag="Free"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="PowerSrc" tag="Psionic"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    </thing>
  <thing id="pwAdtUnnrv" name="Unnerving Suggestion" description="{b}Requirement:{/b} You must expend 2 power points each time you use this power.\n\n{b}Hit:{/b} 1d8 + ability modifier psychic damage, and the target is dazed the end of your next turn. In addition, one ally within 3 squares of the target gains a +1d6 bonus to damage rolls against the target until the end of your next turn.\n\n{b}Level 13:{/b} \n\n{b}Requirement:{/b} You must expend 4 power points each time you use this power.\n\n{b}Hit:{/b} As above, but 2d8 + ability modifier psychic damage and a +2d6 bonus to damage rolls.\n\n{b}Level 23:{/b} \n\n{b}Requirement:{/b} You must expend 6 power points each time you use this power.\n\n{b}Hit:{/b} As above, but 3d8 + ability modifier psychic damage and a +3d6 bonus to damage rolls." compset="Power">
    <fieldval field="pwFlavor" value="You stagger an enemy with a mental attack, then send your underling forth to take advantage with a well-timed attack."/>
    <fieldval field="pwRange1" value="10"/>
    <fieldval field="pwTarget" value="One creature"/>
    <fieldval field="pwDamBase" value="1d8"/>
    <usesource source="HeroElemCh"/>
    <tag group="PowerUse" tag="AtWill"/>
    <tag group="PowerType" tag="AtWill"/>
    <tag group="ReqLevel" tag="3"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerSrc" tag="Psionic"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="AttackVs" tag="defWill"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="AttackType" tag="Range"/>
    <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="pwAdtEnfC" name="Enforced Competence" description="{b}Trigger:{/b} An ally in the burst makes a skill check or a saving throw and dislikes the result.\n\n{b}Effect:{/b} The target rerolls the check or the saving throw. If this second check or saving throw is not successful, the target takes psychic damage equal to half your healing surge value, and this power is not expended." compset="Power">
    <fieldval field="pwTarget" value="The triggering ally"/>
    <fieldval field="pwRange1" value="10"/>
    <fieldval field="pwFlavor" value="At your urging, your allies work harder and better. There might be some drawbacks, but none you need to suffer."/>
    <usesource source="DarkSun"/>
    <tag group="PowerSrc" tag="Psionic" name="Psionic" abbrev="Psionic"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ReqLevel" tag="6"/>
    <tag group="ActionType" tag="ImmedInt"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="DamageType" tag="Psychic" name="Psychic" abbrev="Psychic"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="PowerAcc" tag="Implement" name="Implement" abbrev="Implement"/>
    </thing>
  <thing id="pwAdtCruel" name="Cruel Decree" description="{b}Requirement:{/b} You must expend 2 power points each time you use this power.\n\n{b}Hit:{/b} 2d6 + ability modifier psychic damage, and the target is slowed until the end of your next turn. Each ally in the burst gains a +2 power bonus to damage rolls against the target until the end of your next turn.\n\n{b}Level 17:{/b} \n\n{b}Requirement:{/b} You must expend 4 power points each time you use this power.\n\n{b}Hit:{/b} As above, but 3d6 + ability modifier psychic damage and a +4 power bonus to damage rolls.\n\n{b}Level 27:{/b} \n\n{b}Requirement:{/b} You must expend 6 power points each time you use this power.\n\n{b}Hit:{/b} As above, but 4d6 + ability modifier psychic damage and a +6 power bonus to damage rolls." compset="Power">
    <fieldval field="pwTarget" value="Each enemy in the burst"/>
    <fieldval field="pwRange1" value="1 within 10 squares"/>
    <fieldval field="pwDamBase" value="2d6"/>
    <fieldval field="pwFlavor" value="With the voice of authority, you call for your allies to take the fight to your enemies."/>
    <usesource source="HeroElemCh" parent="Supplement" name="Heroes of the Elemental Chaos"/>
    <tag group="PowerSrc" tag="Psionic" name="Psionic" abbrev="Psionic"/>
    <tag group="PowerTheme" tag="thNblAdept" name="Noble Adept" abbrev="Noble Adept"/>
    <tag group="PowerType" tag="AtWill" name="At-Will Power" abbrev="At-Will"/>
    <tag group="PowerUse" tag="AtWill" name="At-Will Power" abbrev="At-Will"/>
    <tag group="ReqLevel" tag="7"/>
    <tag group="ActionType" tag="Standard" name="Standard Action" abbrev="Standard Action"/>
    <tag group="AttackType" tag="AreaBurst"/>
    <tag group="AttackVs" tag="defWill" name="Will" abbrev="Will"/>
    <tag group="PowerAcc" tag="Implement" name="Implement" abbrev="Implement"/>
    <tag group="DamageType" tag="Psychic" name="Psychic" abbrev="Psychic"/>
    <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="pwAdtFace" name="Face of Defeat" description="{b}Hit:{/b} 2d6 + ability modifier psychic damage.\n\n{b}Effect:{/b} The target is dazed (save ends). If the target is hit by an attack while dazed by this power, it instead becomes stunned until the end of your next turn.\n\n{b}Level 19:{/b}\n\n{b}Hit: {/b} 4d6 + ability modifier psychic damage.\n\n{b}Level 29:{/b}\n\n{b}Hit: {/b} 6d6 + ability modifier psychic damage." compset="Power">
    <fieldval field="pwRange1" value="10"/>
    <fieldval field="pwDamBase" value="2d6"/>
    <fieldval field="pwFlavor" value="You make your foe believe defeat is imminent, and your point is reinforced by well-aimed attacks from your followers."/>
    <fieldval field="pwTarget" value="One creature"/>
    <usesource source="DarkSun"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="ActionType" tag="Standard" name="Standard Action" abbrev="Standard Action"/>
    <tag group="AttackType" tag="Range" name="Ranged" abbrev="Ranged"/>
    <tag group="AttackVs" tag="defWill" name="Will" abbrev="Will"/>
    <tag group="ReqLevel" tag="9"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerAcc" tag="Implement" name="Implement" abbrev="Implement"/>
    <tag group="PowerSrc" tag="Psionic"/>
    <tag group="PowerUse" tag="Daily"/>
    <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="pwAdtSust" name="Psionic Sustenance" description="{b}Effect{/b}: The target loses a healing surge, and you regain 2 power points.\n\n{b} Level 23:{/b} The target loses a healing surge, and you regain 4 power points." compset="Power">
    <fieldval field="pwFlavor" value="Your ally sacrifices his or her well-being to renew your psionic strength."/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="One willing ally"/>
    <usesource source="DarkSun" parent="Supplement" name="Dark Sun Campaign Setting"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="PowerType" tag="Utility" name="Utility Power" abbrev="Utility"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerTheme" tag="thNblAdept"/>
    <tag group="AttackType" tag="Range"/>
    <tag group="PowerSrc" tag="Psionic"/>
    </thing>
  <thing id="fNblAdpPP" name="Noble Adept Poiwer Point" description="You gain 1 power point" compset="ThemeFeat">
    <eval phase="Traits" priority="1000">#trkmax[trkPower] += 1</eval>
    </thing>
  </document>
