<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="thOozMst" name="Ooze Master" description="Few drow are mad enough to forsake the ways of Lolth for Ghaunadaur, the elder evil that rules over the disgusting filth of the world. Those who do might become lords of the slime-covered caverns of the Underdark, and command oozes, jellies, puddings, and other aberrations to do their bidding. An ooze master regularly forsakes the comforts of traditional drow society to venture into the cold, wet, dark, and abandoned places of the earth. There, an acolyte of That Which Lurks can study the slimes of the Underdark, with only Ghaunadaur&#146;s insane whispers to keep him or her company. When an ooze master walks the halls of drow cities and settlements, he or she strives to keep a low profile, because strange mannerisms and a fascination with aberrant creatures serve only to draw unwanted attention.\n    An ooze master must fight constantly against whispers of madness that seek to consume the mind. Ghaunadaur desires only to devour the world, and Ghaunadaur&#146;s worshipers claim to hear his voice inside their heads, urging them down a path of destruction. With arcane power gifted by the ancient god, an ooze master calls forth corrosive goo to scar and maim opponents. An adherent that is lucky enough to retain some semblance of sanity normally exhibits only a few symptoms of Ghaunadaur&#146;s madness, but an episode of full-blown insanity can still strike at a moment&#146;s notice.\n    Worship of Ghaunadaur is forbidden in Menzoberranzan. Even the maddest of acolytes knows better than to invoke foul magic in the presence of Lolth&#146;s servants. Traveling with an ooze master is dangerous; many of the Spider Queen&#146;s agents have been trained to recognize the telltale signs of insanity.\n\n{b}Ooze Master Starting Feature (1st level):{/b} You gain the sudden slime power.\n{b}Ooze Master Level 5 Feature (5th level):{/b} When you make a Dungeoneering check, you can roll twice and use either result.\n{b}Ooze Master Level 10 Feature (10th level):{/b} You gain acid resistance equal to 5 + one-half your level. In addition, when you hit a creature with an acid attack, it grants combat advantage until the end of your next turn." compset="Theme">
    <bootstrap thing="fOozMst1"></bootstrap>
    <bootstrap thing="fOozMst5"></bootstrap>
    <bootstrap thing="fOozMst10"></bootstrap>
    </thing>
  <thing id="pwOozMst1" name="Sudden Slime" compset="Power">
    <fieldval field="pwFlavor" value="A sudden explosion of green slime covers your opponents in corrosive acid."/>
    <fieldval field="pwRange1" value="within 10 squares"/>
    <fieldval field="pwTarget" value="Each creature in the burst"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thOozMst"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="EffectType" tag="Evocation"/>
    <tag group="EffectType" tag="Acid"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="AreaBurst"/>
    <tag group="PowerAcc" tag="Implement"/>
    <tag group="PowerType" tag="Encounter"/>
    <tag group="AttackVs" tag="defFort"/>
    <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="pwOozMst2" name="Scouring Palm" description="{b}Effect:{/b} Until the end of your next turn, you gain a +5 power bonus to Thievery checks and to Strength checks made to force open, break, or bend wood objects and metal objects.\n\n{b}Sustain Minor:{/b} The bonus persists until the end of your next turn." compset="Power">
    <fieldval field="pwFlavor" value="Your hands become coated in a caustic acid that eats through whatever you touch."/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="ReqLevel" tag="2"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thOozMst"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="AttackType" tag="Personal"/>
    </thing>
  <thing id="pwOozMst6" name="Celerity Jelly" description="{b}Effect:{/b} The burst creates a zone that lasts until the end of your next turn. The zone is difficult terrain for your enemies. When you or an ally starts his or her turn in the zone, that character can move from one square in the zone to another as a free action." compset="Power">
    <fieldval field="pwFlavor" value="You smear the nearby ground with a slick jelly that accelerates your party&#146;s movements."/>
    <fieldval field="pwRange1" value="2"/>
    <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="thOozMst"/>
    <tag group="EffectType" tag="Zone"/>
    <tag group="PowerUse" tag="Encounter"/>
    <tag group="AttackType" tag="CloseBurst"/>
    <tag group="PowerAcc" tag="Weapon"/>
    </thing>
  <thing id="pwOozMst10" name="Pudding Sight" description="{b}Effect:{/b} You gain tremorsense 10 until the end of the encounter." compset="Power">
    <fieldval field="pwFlavor" value="You gain the senses of a pudding and can detect the faintest vibrations of your enemy&#146;s movements."/>
    <tag group="PowerAcc" tag="Weapon"/>
    <tag group="PowerType" tag="Utility"/>
    <tag group="ActionType" tag="Minor"/>
    <tag group="ReqLevel" tag="10"/>
    <tag group="PowerClass" tag="ThemePower"/>
    <tag group="PowerTheme" tag="thOozMst"/>
    <tag group="PowerSrc" tag="Arcane"/>
    <tag group="PowerUse" tag="Daily"/>
    <tag group="AttackType" tag="Personal"/>
    </thing>
  <thing id="fOozMst1" name="Ooze Master Starting Feature" description="You gain the sudden slime power." compset="ThemeFeat">
    <tag group="ReqLevel" tag="1"/>
    <bootstrap thing="pwOozMst1"></bootstrap>
    </thing>
  <thing id="fOozMst5" name="Ooze Master Level 5 Feature" description="When you make a Dungeoneering check, you can roll twice and use either result." compset="ThemeFeat">
    <tag group="ReqLevel" tag="5"/>
    </thing>
  <thing id="fOozMst10" name="Ooze Master Level 10 Feature" description=" You gain acid resistance equal to 5 + one-half your level. In addition, when you hit a creature with an acid attack, it grants combat advantage until the end of your next turn." compset="ThemeFeat">
    <tag group="ReqLevel" tag="10"/>
    <eval phase="Traits" priority="5000"><![CDATA[      ~resist Necrotic / Radiant 5 + half level
      var bonus as number
      bonus = 5 + round(hero.tagvalue[Level.?] / 2, 0, -1)
      #traitmodify[rsAcid,rsTotal,bonus,""]]]></eval>
    </thing>
  </document>
