<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thXaositec" name="Xaositect" description="{i}&quot;Great . . . wheel? Sounds boring. The multiverse is a pile of goo, with some crunchy bits. Occasionally, someone adds salt.&quot;{/i}\n\nPatterns. Rules. Order. These are tools of the dim and the ignorant use to attempt to codify the multiverse and understand it. Instead, Xaositects (also known as the Chaosmen) believe that the answer is staring everyone in the face: There are no rules, and there is no deeper meaning to existence. Attempting to impose any kind of structure is antithetical to what it all means, and trying to stem the tide of change and disorder puts you farther away from understanding it all and finding your place in the chaotic sea of reality.\n    If this view is true, does that mean that all reality is meaningless, and everyone should sink into despair? Yes and no. (Or no and yes.) Other factions might wallow in doom and gloom over this perceived futility, but the Xaositects&#146; understanding goes deeper than that. Down into despair is certainly one direction, but a body who embraces chaos is equally likely to float up into happiness, or sideways into the street. Reality is meaningless, but a lack of meaning isn&#146;t a bad thing in and of itself. Abandoning a search for meaning is the surest way to find it. The more your life reflects chaos, the more your life is like the multiverse, and both are sources of endless surprise.\n\n{b}Xaositect Starting Feature (1st level):{/b} You gain the Babble power.\n\n{b}Xaositect Level 5 Feature (5th level):{/b} You gain a +2 power bonus to Arcana checks and Bluff checks.\n\n{b}Xaositect Level 10 Feature (10th level):{/b} You gain a +2 power bonus to all defenses against opportunity attacks. Additionally, you cannot be surprised while you are concious." compset="Theme">
    <usesource source="Dragon"/>
    <bootstrap thing="fXaos5"></bootstrap>
    <bootstrap thing="fXaos10"></bootstrap>
    <bootstrap thing="fXaos1"></bootstrap>
    </thing>
  <thing id="pwXaos1" name="Babble" description="{b}Effect:{/b} The target cannot speak intelligibly or deliver any attack that relies on speech (save ends).\n{b}Attack:{/b} Highest ability modifier+2 vs. Will\n{b}Level 11:{/b} Highest ability modifier+4 vs. Will\n{b}Level 21:{/b} Highest ability modifier +6 vs. Will" compset="Power">
    <fieldval field="pwFlavor" value="Geegle dooo bleagh owlbear ron grickle flick tarrasque meat!"/>
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwTarget" value="One creature that can hear you"/>
    <fieldval field="pwAtkMod" value="+2"/>
    <usesource source="Dragon"/>
    <tag group="User" tag="AttrPhys"/>
    <tag group="User" tag="AttrMental"/>
    <tag group="AttackVs" tag="defWill"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Range"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thXaositec"/>
    <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["Attack." & attidstr]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  <thing id="pwXaos2" name="Hornung&apos;s Deflector" description="{b}Trigger:{/b} You are hit by a ranged attack.\n\n{b}Effect:{/b} The attack instead hits a random creature (including yourself) within 3 squares of you." compset="Power">
    <fieldval field="pwFlavor" value="A hemisphere of elemental matter manifests around you, deflecting incoming missiles or making you a bigger target."/>
    <usesource source="Dragon"/>
    <tag group="ActionType" tag="ImmedInt"/>
    <tag group="ReqLevel" tag="2"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thXaositec"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Personal"/>
    <tag group="PowerType" tag="Utility"/>
    </thing>
  <thing id="pwXaos6" name="The Die Is Cast" description="{b}Trigger:{/b} You roll a d20 and dislike the result.\n\n{b}Effect:{/b} Add 1d10 to the roll, and then subtract 1d4 from the roll." compset="Power">
    <fieldval field="pwFlavor" value="Chaos reigns in every glance, strike, and pose. Those who ally themselves with randomness can change their reality."/>
    <usesource source="Dragon"/>
    <tag group="ActionType" tag="Free"/>
    <tag group="ReqLevel" tag="6"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thXaositec"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Personal"/>
    <tag group="PowerType" tag="Utility"/>
    </thing>
  <thing id="pwXaos10" name="Battlefield Shuffle" description="{b}Trigger:{/b} You roll initiative and dislike the result.\n\n{b}Effect:{/b} You and each creature in the burst reroll initiative. You and your allies gain a +4 power bonus to the roll, and your enemies take a -4 penalty to it." compset="Power">
    <fieldval field="pwFlavor" value="Sometimes you just have to toss everything up and hope it works out for the best."/>
    <fieldval field="pwRange1" value="20"/>
    <usesource source="Dragon"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thXaositec"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Free"/>
    </thing>
  <thing id="fXaos1" name="Xaositect Starting Feature" description="You gain the Babble power." compset="ThemeFeat">
    <tag group="ReqLevel" tag="1"/>
    <bootstrap thing="pwEleInt1"></bootstrap>
    </thing>
  <thing id="fXaos5" name="Xaositect Level 5 Feature" description="You gain a +2 power bonus to Arcana checks and Bluff checks." compset="ThemeFeat">
    <eval phase="Traits" priority="1000"><![CDATA[    #traitmodify[skArcana,trtPower,2,""]
    #traitmodify[skBluff,trtPower,2,""]]]>
      <before name="Calc resLeft"/>
      </eval>
    </thing>
  <thing id="fXaos10" name="Xaositect Level 10 Feature" description="You gain a +2 power bonus to all defenses against opportunity attacks. Additionally, you cannot be surprised while you are conscious." compset="ThemeFeat">
    <eval phase="Traits" priority="1000"><![CDATA[      #traitmodify[defWill,trtPower,1,""]]]></eval>
    </thing>
  </document>
