<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thGtrSnp" name="Guttersnipe" description="Heroes can rise from unfortunate circumstances, and few circumstances are less fortunate than to begin life as a penniless street urchin in a hard, unforgiving city. Orphaned, abandoned, or mistreated as children, guttersnipes can grow into hard-bitten, cynical adults. Marked by the lower-class manners and speech patterns of the poorest quarters, guttersnipe heroes struggle to be seen as something more than the dregs of society. Guttersnipes live their lives under constant suspicion from the more fortunate people in the world. Most are seen as greedy, lying cutpurses, footpads, or ruffians who would slit a throat for a handful of silver pieces. Common people openly distrust them, constables and watch officers routinely harass or question them, and aristocrats are surrounded by watchful guards or counselors who make it a point to keep the riffraff, especially dangerous riffraff, away.\n    Under this cloak of distrust, some guttersnipes choose to live down to others&#146; expectations, nursing bitter grudges against their &#147;betters.&#148; Others desperately try to escape their poor origin by concealing their street manners and lack of education behind carefully rehearsed facades of gentility; they dread the day when someone sees through the disguise. Some happy-go-lucky souls choose not to be troubled by suspicions and slights, refusing to be defined by others&#146; ill-informed judgments. Finally, benefactors who see potential in them pluck a lucky few guttersnipes out of the streets and give them a chance to make something of themselves. A powerful wizard might detect a spark of greatness in a street urchin and teach the boy or girl a few tricks; a compassionate priest might offer a poor child a chance to become an acolyte in a temple. As recounted in more than one legendary tale, guttersnipes are sometimes picked up from the streets by royalty or high nobles and adopted after doing some great service or showing tremendous pluck.\n    Whether a guttersnipe meets life with wry wit or scheming self-interest, every one is a survivor who excels in recognizing and seizing opportunity. Guttersnipes who through good fortune or hard work leave the streets behind to become wizards, clerics, or wards of nobles might not look or sound much like the beggar children they once were, but inside they still have the quick wits and daring that got them noticed in the first place.\n\n{b}Guttersnipe Starting Feature (1st level):{/b} You gain the running slash power.\n{b}Guttersnipe Level 5 Feature (5th level):{/b} When you buy an item, you pay 90 percent of the listed price. When you sell an item, you receive 10 percent more than the price normally quoted for selling that item.\n{b}Guttersnipe Level 10 Feature (10th level):{/b} You gain a +5 power bonus to Streetwise checks. You can make a Streetwise check once per day as a free action as long as you are in a town or a city." compset="Theme">
    <bootstrap thing="fGtrSnp1"></bootstrap>
    <bootstrap thing="fGtrSnp5"></bootstrap>
    <bootstrap thing="fGtrSnp10"></bootstrap>
    </thing>
  <thing id="pwGtrsnp0" name="Running Slash" description="{b}Effect:{/b} You move up to your speed and make the following attack at any point during your move. This movement does not provoke an opportunity attack from the target.\n\n{b}Attack:{/b} Highest ability modifier vs. Reflex\n\n{b}Hit:{/b} 1[W] + highest ability modifier damage, and the target is slowed until the end of your next turn.\n    Level 11: 2[W] + highest ability modifier damage.\n    Level 21: 3[W] + highest ability modifier damage." compset="Power">
    <fieldval field="pwFlavor" value="You dart past a foe, attacking as you pass by."/>
    <fieldval field="pwRange1" value="1"/>
    <fieldval field="pwTarget" value="One Creature"/>
    <tag group="ActionType" tag="Standard"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thGtrSnp"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="AttackVs" tag="defRef"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Melee"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Encounter"/>
    <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="pwGtrSnp2" name="Infuriating Taunt" description="{b}Trigger:{/b} An enemy within 5 squares of you misses you with an attack.\n{b}Effect:{/b} Until the end of the encounter, the target takes a -2 penalty to attack rolls (including rolls against you) until it hits you with an attack." compset="Power">
    <fieldval field="pwRange1" value="5"/>
    <fieldval field="pwFlavor" value="You enrage an enemy by mocking its failure."/>
    <fieldval field="pwTarget" value="The triggering enemy in the burst"/>
    <tag group="ActionType" tag="ImmedReact"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="ReqLevel" tag="2"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thGtrSnp"/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    </thing>
  <thing id="pwGtrSnp6" name="Fools&apos; Dance" description="{b}Effect:{/b} Until the end of your next turn, each time you are attacked, you gain a power bonus to all defenses against that attack. The bonus equals the number of enemies adjacent to you when the attack is made. In addition, until the end of your next turn, each time you are missed by an attack, you can shift 1 square as a free action." compset="Power">
    <fieldval field="pwFlavor" value="When pressed by your enemies, you turn their numbers against them. The closer you are to your enemies, the farther you are from harm."/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="ReqLevel" tag="6"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thGtrSnp"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Personal"/>
    </thing>
  <thing id="pwGtrSnp10" name="Unlikely Escape" description="{b}Requirement:{/b} You must be restrained, slowed, immobilized, or flanked by enemies.\n{b}Effect:{/b} You end one effect on you that is immobilizing, restraining, or slowing you, and you shift up to 3 squares." compset="Power">
    <fieldval field="pwFlavor" value="With a quick twist of your torso, you slip free from a situation that impedes you."/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Move"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thGtrSnp"/>
    <tag group="PowerSrc" tag="Martial"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="Personal"/>
    </thing>
  <thing id="fGtrSnp1" name="Guttersnipe Starting Feature" description="You gain the running slash power." compset="ThemeFeat">
    <tag group="ReqLevel" tag="1"/>
    <bootstrap thing="pwGtrsnp0"></bootstrap>
    </thing>
  <thing id="fGtrSnp5" name="Guttersnipe Level 5 Feature" description="When you buy an item, you pay 90 percent of the listed price. When you sell an item, you receive 10 percent more than the price normally quoted for selling that item." compset="ThemeFeat">
    <tag group="ReqLevel" tag="5"/>
    </thing>
  <thing id="fGtrSnp10" name="Guttersnipe Level 10 Feature" description="You gain a +5 power bonus to Streetwise checks. You can make a Streetwise check once per day as a free action as long as you are in a town or a city." compset="ThemeFeat">
    <tag group="ReqLevel" tag="10"/>
    <eval phase="Traits" priority="1000"><![CDATA[#traitmodify[skStreetwi,trtPower,2,""]]]></eval>
    </thing>
  </document>
