<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thRRWiz" name="Renegade Red Wizard" description="{i}You will never understand horror until you&#146;ve inflicted it. I understand it. I pray you never do.{/i}\n{b}Prerequisite:{/b} Wizard (mage)\nThay is a nation dedicated to magic and death&#151;a land where undead are not only common, they hold great power. The regent Szass Tam and his Council of Zulkirs&#151;liches all&#151;rule this warring, slaving nation with fists of bone and iron. Those who have grown up under this regime find life in Thay entirely normal&#151;fearsome, perhaps, but not at all unnatural. Those who have the proper magical skills and mindset can even carve out their own place within the necromantic order.\n    You were such a wizard&#151;destined for greatness because of your magical potential. To your family&#146;s great honor, you joined the prestigious academies used to train mages for the ever-growing ranks of the Red Wizards of Thay. There, you were taught the fundamentals of magic in all its schools and forms, but your focus was necromancy.\n    At the time, this dedication seemed normal to you. Manipulating the forces of death itself? Animating those who had been living, breathing, laughing people into mindless, shambling slaves? This is the order of things in Thay&#151;and will be the order across the rest of Faer&#251;n if the regent has his way.\n    So might your life have gone, had not your best friend&#151;a partner and companion throughout your years of schooling&#151;failed an assigned experiment. It was nothing disastrous, only a ritual that went ever so slightly awry, but the event sent your instructor into a rage. When that rage was spent, your friend was dead, his life force sundered by necrotic energy.\n    He was also your next project, for his was the body that the class&#151;working together to perform magic none of you could handle alone&#151;was ordered to reanimate. And you complied, for fear of what might happen if you did not.\n    For the first time, the grotesque, decaying face before you was not that of a stranger. For the first time, you knew of and could feel the utter absence of the life and laughter that once had thrived behind those eyes.\n    You finally understood the horror of what you had been trained to do, and in that moment you forswore necromancy&#151;and Thay itself.\n    It wasn&#146;t that hard to flee, for who would ever try to escape the academies&#151;one of the only ways to gain real power in Szass Tam&#146;s Thay? By the time they knew to look for you, you were already gone.\n    You can barely remember the exhausting, starving months of travel, constantly watching over your shoulder. When you came to the Sword Coast, you realized you had literally fled as far as you could go. Only then did it occur to you to stop running and try to determine what the future might hold.\n    In time, you wandered north to Neverwinter, a place where most of the population was struggling to build new lives. A place where you thought you might fit in. However, it didn&#146;t take you long to hear whispered rumors of a darkness in the North&#151;rumors that dashed all hope of leaving your past behind.\n    The Thayans are here, conducting their foul experiments and stealing people away in the night. How many Neverwintans have joined the ranks of Thay&#146;s slaves after death? How often are more living, laughing faces taking on the foul grin of the undead?\n    It never crossed your mind to run again. You don&#146;t know what the Thayans are doing in the North, but you know that their efforts here can be stopped. They can be defeated. You can protect your new home from what you once were.\n\n    {b}Renegade Red Wizard Starting Feature (1st level):{/b} If you are hidden when you use an arcane attack power and miss every target, you do not automatically become visible (though the targets are entitled to new Perception checks to see if they notice you).\n    {b}Renegade Red Wizard Level 4 Feature (4th level):{/b} You do not gain the Apprentice Mage feature normally gained by a mage at 4th level. Instead, when one of your arcane attack powers causes an effect that a save can end, the target takes a -2 penalty to its first saving throw against that effect.\n    {b}Renegade Red Wizard Level 5 Feature (5th level):{/b} Once per day at the end of a short rest, you can exchange one prepared power for another from your spellbook. The new power you prepare must be from the school you chose for your Apprentice Mage feature at 1st level.\n    {b}Renegade Red Wizard Level 8 Feature (8th level):{/b} You do not gain the Expert Mage feature normally gained by a mage at 8th level. Instead, you gain a +2 bonus to Bluff checks and Intimidate checks.\n    {b}Renegade Red Wizard Level 10 Feature (10th level):{b} You gain a +1 bonus to attack rolls against any Red Wizard or undead creature that grants combat advantage to you." compset="Theme">
    <tag group="ReqClass" tag="clsMage2"/>
    <bootstrap thing="fRRWiz4"></bootstrap>
    <bootstrap thing="fRRWiz5"></bootstrap>
    <bootstrap thing="fRRWiz8"></bootstrap>
    <bootstrap thing="fRRWiz10"></bootstrap>
    <bootstrap thing="fRRWiz1"></bootstrap>
    </thing>
  <thing id="clsMage2" name="Mage - Renegade Red Wizard" description="A mage is a specialized wizard, a spellcaster who focuses on the tenets of a particular school of magic. This specialization makes each mage distinctive. After all, a mage who casts evocation spells presents a very different picture to the world from a mage who has mastered the art of illusion or enchantment.\n\nSelect this class only if you plan to use the Renegade Red Wizard Theme." compset="Class" uniqueness="unique">
    <fieldval field="clsSkills" value="3"/>
    <fieldval field="clsWill" value="2"/>
    <fieldval field="clsStartHP" value="10"/>
    <fieldval field="clsHPLev" value="4"/>
    <fieldval field="clsSurges" value="6"/>
    <fieldval field="clsTrmAtW" value="At-Will Power"/>
    <fieldval field="clsTrmAtWs" value="At-Will Powers"/>
    <usesource source="PlEsHeroFa" parent="Supplement" name="Heroes of the Fallen Lands"/>
    <tag group="KeyAbility" tag="attrCon" name="Constitution" abbrev="Constitution"/>
    <tag group="KeyAbility" tag="attrInt" name="Intelligence" abbrev="Intelligence"/>
    <tag group="KeyAbility" tag="attrWis" name="Wisdom" abbrev="Wisdom"/>
    <tag group="PowerSrc" tag="Arcane" name="Arcane" abbrev="Arcane"/>
    <tag group="Skill" tag="skArcana" name="Arcana" abbrev="Arcana"/>
    <tag group="Skill" tag="skDiplomac" name="Diplomacy" abbrev="Diplomacy"/>
    <tag group="Skill" tag="skDungeone" name="Dungeoneering" abbrev="Dungeoneering"/>
    <tag group="Skill" tag="skHistory" name="History" abbrev="History"/>
    <tag group="Skill" tag="skInsight" name="Insight" abbrev="Insight"/>
    <tag group="Skill" tag="skNature" name="Nature" abbrev="Nature"/>
    <tag group="Skill" tag="skReligion" name="Religion" abbrev="Religion"/>
    <tag group="TrainSkill" tag="skArcana" name="Arcana" abbrev="Arcana"/>
    <tag group="User" tag="RecomPower" name="RecomPower" abbrev="RecomPower"/>
    <tag group="WeaponProf" tag="wpDagger" name="Dagger" abbrev="Dagger"/>
    <tag group="WeaponProf" tag="wpQuarters" name="Quarterstaff" abbrev="Quarterstaff"/>
    <tag group="ArmorProf" tag="apCloth" name="Cloth Armor" abbrev="Cloth Armor"/>
    <tag group="ClassName" tag="Wizard" name="Wizard" abbrev="Wizard"/>
    <tag group="ClassRole" tag="Controller" name="Controller" abbrev="Controller"/>
    <tag group="Hero" tag="NoMemUnder" name="NoMemUnder" abbrev="NoMemUnder"/>
    <tag group="ImplemType" tag="itOrb" name="Orb" abbrev="Orb"/>
    <tag group="ImplemType" tag="itStaff" name="Staff" abbrev="Staff"/>
    <tag group="ImplemType" tag="itWand" name="Wand" abbrev="Wand"/>
    <tag group="Class" tag="fArcanII"/>
    <tag group="Class" tag="clsWizard"/>
    <tag group="Class" tag="clsMage"/>
    <bootstrap thing="fMagPyrApp"></bootstrap>
    <bootstrap thing="fMagMagSpe"></bootstrap>
    <bootstrap thing="pWizMagMis"></bootstrap>
    <bootstrap thing="fMagEncSec"></bootstrap>
    <bootstrap thing="fMagEvoSec"></bootstrap>
    <bootstrap thing="fMagIllSec"></bootstrap>
    <bootstrap thing="fMagExpMag"></bootstrap>
    <bootstrap thing="fMagEncExp"></bootstrap>
    <bootstrap thing="fMagEvoExp"></bootstrap>
    <bootstrap thing="fMagIllExp"></bootstrap>
    <bootstrap thing="fMagNecExp"></bootstrap>
    <bootstrap thing="fMagNetExp"></bootstrap>
    <bootstrap thing="fMagPyrExp"></bootstrap>
    <bootstrap thing="fMagMasMag"></bootstrap>
    <bootstrap thing="fMagEncMas"></bootstrap>
    <bootstrap thing="fMagEvoMas"></bootstrap>
    <bootstrap thing="fMagIllMas"></bootstrap>
    <bootstrap thing="fMagNecMas"></bootstrap>
    <bootstrap thing="fMagNetMas"></bootstrap>
    <bootstrap thing="fMagPyrMas"></bootstrap>
    <bootstrap thing="fMagMasLor"></bootstrap>
    <bootstrap thing="fMagMasSpe"></bootstrap>
    <bootstrap thing="fMagApMag1"></bootstrap>
    <bootstrap thing="MagPwrAtW"></bootstrap>
    <bootstrap thing="MagPwrEnc"></bootstrap>
    <bootstrap thing="MagPwrUti"></bootstrap>
    <bootstrap thing="MagPwrDai"></bootstrap>
    <bootstrap thing="fMagEncApp"></bootstrap>
    <bootstrap thing="pWizGhoSou">
      <autotag group="User" tag="FeatureChk"/>
      </bootstrap>
    <bootstrap thing="pWizLight">
      <autotag group="User" tag="FeatureChk"/>
      </bootstrap>
    <bootstrap thing="pWizMagHan">
      <autotag group="User" tag="FeatureChk"/>
      </bootstrap>
    <bootstrap thing="pWizPresti">
      <autotag group="User" tag="FeatureChk"/>
      </bootstrap>
    <bootstrap thing="MagMemEnc"></bootstrap>
    <bootstrap thing="MagMemUti"></bootstrap>
    <bootstrap thing="MagMemDai"></bootstrap>
    <bootstrap thing="fMagEvoApp"></bootstrap>
    <bootstrap thing="fMagIllApp"></bootstrap>
    <bootstrap thing="fMagNecApp"></bootstrap>
    <bootstrap thing="fMagNetApp"></bootstrap>
    <eval phase="Setup" priority="5" name="Daily powers multiplied"><![CDATA[
      ~make sure all our appropriate powers can be memorized
      foreach pick in hero from Power where "Helper.PwrClass & !PowerType.AtWill"
        perform eachpick.assign[Helper.PowerCheck]
        nexteach]]>
      <before name="Level final"/>
      </eval>
    <evalrule phase="Validate" priority="10000" message="Too Many Cantrips" summary="Too Many Cantrips"><![CDATA[
      ~disable any of our cantrips that aren't selected
      var total as number
      foreach pick in hero from Power where "User.FeatureChk & PowerClass.clsWizard & PowerType.Utility"
        if (eachpick.field[usrIsCheck].value <> 0) then
          total += 1
        else
          perform eachpick.assign[Hide.Special]
          perform eachpick.assign[Helper.Disable]
          endif
        nexteach

      validif (total = 3)

      ~if less than 3 are chosen, that's a warning
      if (total < 3) then
        @message = "Choose up to 3 Cantrips from the Class Features table."

      ~if more than 3, that's an error
      else
        @message = "Too many Cantrips from the Class Features table chosen."
        endif]]></evalrule>
    </thing>
  <thing id="fRRWiz1" name="Renegade Red Wizard Starting Feature" description="{b}Renegade Red Wizard Starting Feature (1st level):{/b} If you are hidden when you use an arcane attack power and miss every target, you do not automatically become visible (though the targets are entitled to new Perception checks to see if they notice you)." compset="ThemeFeat">
    <tag group="ReqLevel" tag="1"/>
    </thing>
  <thing id="fRRWiz4" name="Renegade Red Wizard Level 4 Feature" description="{b}Renegade Red Wizard Level 4 Feature (4th level):{/b} You do not gain the Apprentice Mage feature normally gained by a mage at 4th level. Instead, when one of your arcane attack powers causes an effect that a save can end, the target takes a -2 penalty to its first saving throw against that effect." compset="ThemeFeat">
    <tag group="ReqLevel" tag="4"/>
    </thing>
  <thing id="fRRWiz8" name="Renegade Red Wizard Level 8 Feature" description="{b} Renegade Red Wizard Level 8 Feature (8th level):{/b} You do not gain the Expert Mage feature normally gained by a mage at 8th level. Instead, you gain a +2 bonus to Bluff checks and Intimidate checks." compset="ThemeFeat">
    <tag group="ReqLevel" tag="8"/>
    <eval phase="Traits" priority="1000"><![CDATA[    #traitmodify[skBluff,trtPower,2,""]
    #traitmodify[skIntimida,trtPower,2,""]]]></eval>
    </thing>
  <thing id="fRRWiz5" name="Renegade Red Wizard Level 5 Feature" description="{b}Renegade Red Wizard Level 5 Feature (5th level):{/b} Once per day at the end of a short rest, you can exchange one prepared power for another from your spellbook. The new power you prepare must be from the school you chose for your Apprentice Mage feature at 1st level." compset="ThemeFeat">
    <tag group="ReqLevel" tag="5"/>
    </thing>
  <thing id="fRRWiz10" name="Renegade Red Wizard Level 10 Feature" description="{b}Renegade Red Wizard Level 10 Feature (10th level):{/b} You gain a +1 bonus to attack rolls against any Red Wizard or undead creature that grants combat advantage to you." compset="ThemeFeat">
    <tag group="ReqLevel" tag="10"/>
    </thing>
  </document>
