<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thTemplr" name="Templar" description="{i}&quot;I have been entrusted with the full power and authority of our king. Where I am, he is too. What I deem right and just, he approves. What I condemn as seditious or criminal, he also condemns. I am the law.&quot;{/i}\nJudges, officials, and enforcers of the king&#146;s laws, templars are the embodiment of civic authority in the great cities of Athas. They form a privileged meritocracy of individuals who serve as the sorcerer-king&#146;s eyes, ears, and mouth among the populace&#151;and, as circumstances require, the heavy hand of crushing tyranny. Given broad discretion to enforce the king&#146;s will as they see fit, templars are often brutal and corrupt, using their positions to wring ruinous taxes and bribes from all who fall under their power. A sorcerer-king doesn&#146;t care about templars being corrupt, as long as they keep the city in good order.\n    Templars commonly enjoy broad powers to arrest wrongdoers, impose fines, and command soldiers or city guards to do their bidding in their home cities. Of course, higher-ranking templars can countermand these orders, so a low-ranking templar can&#146;t just commandeer the half-giants guarding a city gate and march off into the desert with them&#151;he would have to appeal to his superiors to approve his mission and request that guards be assigned to his command. Likewise, templars of a particular city-state have no civic authority in other cities or in places not under the direct rule of their king. Though the civic powers granted to templars are formidable in their own right, templars are not simply bureaucrats&#151;many are also formidable spellcasters, sanctioned to wield the terrible magic of the sorcerer-kings in the pursuit of their duties. In many cities templars are trained in arcane magic in formal academies and are bestowed with the ability to call upon their sorcerer-king&#146;s magical might through lengthy pacts.\n    The exact ranks and customs of the templar hierarchy vary widely from city to city. In Balic, templars are known as praetors and are elected to their positions (although a few elections end in unexpected upsets). The templars of Nibenay are exclusively female and are ceremonially wedded to the sorcererking. In Draj, templars are known as the Priests of the Moon and are charged with observing the civic worship of the king Tectuktitlay, who claims to be a god. Notwithstanding specific customs, all templars constitute a powerful, wealthy social class within their cities&#151;a social class highly invested in keeping each sorcerer-king the supreme master of his or her city-state.\n    Most templars revel in their positions and ruthlessly exploit the weak and the poor. However, a few are patriots who are truly concerned with what&#146;s best for their city and their fellow citizens. Some are reformers who seek to moderate the excesses of the system, and a rare handful are rebels seeking to effect change from within. Heroic templars likely hold these convictions." compset="Theme">
    <usesource source="DarkSun"/>
    </thing>
  <thing id="pwTemplr1" name="Templar&apos;s Fist" description="{b}Hit:{/b} 1d10 + ability modifier psychic damage, and the target is slowed until the end of your next turn.\n{b}Level 11:{/b} 2d10 + ability modifier psychic damage.\n{b}Level 21:{/b} 3d10 + ability modifier psychic damage.\n\n{b}Effect:{/b} The next ally who hits and damages the target before the end of your next turn gains a +3 power bonus to attack rolls until the end of his or her next turn." compset="Power">
    <fieldval field="pwFlavor" value="You command your foe to submit, crushing its spirit and slowing its flight. The same power that compels your foe to despair fills a nearby ally with brutal zeal."/>
    <fieldval field="pwDamBase" value="1D10"/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="One Creature in the burst"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="EffectType" tag="Psychic"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ActionType" tag="Standard"/>
    <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[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["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwTemplr2" name="Reward the Obedient" description="{b}Effect:{/b} The next ally who ends his or her turn adjacent to the target before the end of your next turn can spend a healing surge and make a saving throw." compset="Power">
    <fieldval field="pwFlavor" value="You call upon your subject to slay the enemies of your master, drawing your ally onward into the fray."/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="One enemy in the burst"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="ReqLevel" tag="2"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    </thing>
  <thing id="pwTemplr3" name="Fearsom Command" description="{b}Hit:{/b} 2d6 + ability modifier psychic damage, and the target is slowed until the end of your next turn.\n{b}Effect:{/b} The next ally who hits and damages one of the targets before the end of your next turn automatically succeeds on any one saving throw at the end of his or her turn.\n\n{b}Level 13:{/b}\n  {b}Hit{/b}: As above, but 3d6 + ability modifier psychic damage.\n\n{b}Level 23:{/b}\n  {b}Hit:{/b} As above, but 5d6 + ability modifier psychic damage." compset="Power">
    <fieldval field="pwFlavor" value="You cause your foes to hesitate with a spell of magical terror, but your ally takes heart from your authority."/>
    <fieldval field="pwDamBase" value="2d6"/>
    <fieldval field="pwRange2" value="2 Within 10 squares"/>
    <fieldval field="pwTarget" value="Each creature in burst"/>
    <tag group="ReqLevel" tag="3"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="EffectType" tag="Fear"/>
    <tag group="EffectType" tag="Psychic"/>
    <tag group="AttackType" tag="AreaBurst"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ActionType" tag="Standard"/>
    <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["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwTemplr5" name="Glare of Oppression" description="{b}Hit:{/b} 2d10 + ability modifier radiant damage, and the target is immobilized (save ends).\n{b}Miss:{/b} Half damage, and the target is slowed until the end of your next turn.\n{b}Effect:{/b} The next ally who hits and damages one of the targets before the end of your next turn gains regeneration 3 until the end of the encounter.\n\n{b}Level 15:{/b}\n  {b}Hit:{/b} As above, but 3d10 + ability modifier radiant damage.\n\n{b}Level 25:{/b}\n  {b}Hit:{/b} As above, but 4d10 + ability modifier radiant damage." compset="Power">
    <fieldval field="pwFlavor" value="You create a wave of blistering sunlight and mental oppression. It saps your enemies&#146; will to fight while renewing the vigor of those you command."/>
    <fieldval field="pwDamBase" value="2d10"/>
    <fieldval field="pwRange2" value="2 Within 10 squares"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="ReqLevel" tag="5"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="DamageType" tag="Radiant"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="EffectType" tag="Healing"/>
    <tag group="EffectType" tag="Radiant"/>
    <tag group="AttackType" tag="AreaBurst"/>
    <tag group="PowerType" 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[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["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwTemplr6" name="Mantle of Might" description="{b}Effect:{/b} Until the end of your next turn, enemies grant combat advantage and take a -4 penalty to attack rolls against you while adjacent to you. The next ally who hits and damages an enemy adjacent to you before the end of the encounter gains 1 action point." compset="Power">
    <fieldval field="pwFlavor" value="An invisible aura of power protects you from enemies that dare to approach."/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="ReqLevel" tag="6"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="EffectType" tag="Fear"/>
    </thing>
  <thing id="pwTemplr7" name="Fettering Glare" description="{b}Hit:{/b} 2d8 + ability modifier psychic damage, and you knock the target prone.\n{b}Effect:{/b} The next ally who hits and damages one of the targets before the end of your next turn rolls twice on any one attack roll made before the end of his or her next turn, using either result.\n\n{b}Level 17:{/b}\n  {b}Hit:{/b} As above, but 3d8 + ability modifier psychic damage.\n\n{b}Level 27:{/b}\n  {b}Hit:{/b} As above, but 5d8 + ability modifier psychic damage." compset="Power">
    <fieldval field="pwFlavor" value="You create ghostly, constricting iron manacles to pin your foe in place. The manacles draw an enchantment or blight affecting one of your allies away from him."/>
    <fieldval field="pwRange1" value="2"/>
    <fieldval field="pwTarget" value="Each enemy in the burst"/>
    <fieldval field="pwDamBase" value="2d8"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="ReqLevel" tag="7"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ActionType" tag="Standard"/>
    <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["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwTemplr9" name="Imperious Gaze" description="{b}Hit:{/b} 2d10 + ability modifier psychic damage, and the target is dazed (save ends).\n{b}Effect:{/b} The next ally who hits and damages one of the targets before the end of the encounter can regain any one expended encounter attack power of this power&#146;s level or lower.\n\n{b}Level 19:{/b}\n  {b}Hit:{/b} As above, but 3d10 + ability modifier psychic damage.\n\n{b}Level 29:{/b}\n  {b}Hit:{/b} As above, but 4d10 + ability modifier psychic damage." compset="Power">
    <fieldval field="pwFlavor" value="You fix your eye on a foe or a friend, driving your ally onward with magical compulsion or crushing your enemy&#146;s will"/>
    <fieldval field="pwDamBase" value="2d10"/>
    <fieldval field="pwRange1" value="2"/>
    <fieldval field="pwTarget" value="Each enemy in burst"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="ReqLevel" tag="9"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="DamageType" tag="Psychic"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="EffectType" tag="Psychic"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerType" tag="Daily"/>
    <tag group="ActionType" tag="Standard"/>
    <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["DamageAttr." & attidstr]
perform assignstr["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwTemplr10" name="Berate the Weak" description="{b}Effect:{/b} Each target can choose to spend a healing surge, automatically remove one dazed or stunned effect, or stand up. In addition, each target in the burst can move his or her speed as a free action, as long as this movement ends with that target adjacent to an enemy." compset="Power">
    <fieldval field="pwFlavor" value="You lash your failing allies with words of scorn, driving them back into the fray with renewed determination."/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="Each bloodied, dazed, stunned, or prone ally in the burst"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thTemplr"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    </thing>
  </document>
