<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="mgBlasW2" name="Blast Scepter" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="2"/>
    <fieldval field="mgLevel" value="7"/>
    <fieldval field="mgEnhance" value="+2 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+2d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itWand"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasW3" name="Blast Scepter" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="3"/>
    <fieldval field="mgLevel" value="12"/>
    <fieldval field="mgEnhance" value="+3 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+3d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itWand"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasW4" name="Blast Scepter" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="4"/>
    <fieldval field="mgLevel" value="17"/>
    <fieldval field="mgEnhance" value="+4 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+4d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itWand"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasW5" name="Blast Scepter" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="5"/>
    <fieldval field="mgLevel" value="22"/>
    <fieldval field="mgEnhance" value="+5 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+5d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itWand"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasW6" name="Blast Scepter" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="6"/>
    <fieldval field="mgLevel" value="27"/>
    <fieldval field="mgEnhance" value="+6 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+6d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itWand"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasR2" name="Blast Scepter (Rod)" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem" replaces="mgBlasSce2">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="2"/>
    <fieldval field="mgLevel" value="7"/>
    <fieldval field="mgEnhance" value="+2 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+2d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itRod"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasR3" name="Blast Scepter (Rod)" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem" replaces="mgBlasSce3">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="3"/>
    <fieldval field="mgLevel" value="12"/>
    <fieldval field="mgEnhance" value="+3 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+3d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itRod"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasR4" name="Blast Scepter (Rod)" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem" replaces="mgBlasSce4">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="4"/>
    <fieldval field="mgLevel" value="17"/>
    <fieldval field="mgEnhance" value="+4 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+4d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="ImplemType" tag="itRod"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasR5" name="Blast Scepter (Rod)" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem" replaces="mgBlasSce5">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="5"/>
    <fieldval field="mgLevel" value="22"/>
    <fieldval field="mgEnhance" value="+5 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+5d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="ImplemType" tag="itRod"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="mgBlasR6" name="Blast Scepter (Rod)" description="Property: While holding this implement, you have resist 10 fire and resist 10 lightning.{br}{br}Attack Power * Daily (Standard Action): {i}Attack:{/i} Melee 1 (one creature); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Fortitude{br}{br}{i}Hit:{/i} The target is stunned (save ends).{br}{br}Attack Power (Thunder) * At-Will (Standard Action): {i}Attack:{/i} Close blast 3 (creatures in the blast); Intelligence, Constitution, or Charisma + the scepter&apos;s enhancement bonus vs. Reflex{br}{br}{i}Hit:{/i} 5 thunder damage, and you push the target up to 3 squares.{br}{br}{i}Level 12 or 17:{/i} 10 thunder damage.{br}{br}{i}Level 22 or 27:{/i} 15 thunder damage." compset="MagicItem" replaces="mgBlasSce6">
    <fieldval field="mgFlavor" value="This rare, ancient device is one of the more unpleasant legacies of lost Netheril."/>
    <fieldval field="mgBonus" value="6"/>
    <fieldval field="mgLevel" value="27"/>
    <fieldval field="mgEnhance" value="+6 Attack rolls and damage rolls"/>
    <fieldval field="mgCrit" value="+6d8 force damage"/>
    <usesource source="HallsUnder" parent="Adventure" name="Halls of Undermountain"/>
    <tag group="Rarity" tag="Rare" name="Rare" abbrev="Rare"/>
    <tag group="ImplemType" tag="itRod"/>
    <bootstrap thing="pwBlastSc"></bootstrap>
    </thing>
  <thing id="pwBlastSc" name="Blast Scepter Attack" description="{b}Hit:{/b} 10 thunder damage, and you push the target up to 3 squares." compset="Power">
    <fieldval field="pwRange1" value="3"/>
    <fieldval field="pwDamBase" value="10"/>
    <usesource source="HallsUnder"/>
    <tag group="PowerAcc" tag="Implement" name="Implement" abbrev="Implement"/>
    <tag group="PowerSrc" tag="Arcane" name="Arcane" abbrev="Arcane"/>
    <tag group="PowerType" tag="AtWill"/>
    <tag group="ActionType" tag="Standard" name="Standard Action" abbrev="Standard Action"/>
    <tag group="AttackType" tag="CloseBlast"/>
    <tag group="DamageType" tag="Thunder"/>
    <tag group="AttackVs" tag="defRef"/>
    <tag group="PowerClass" tag="MagicItem"/>
    <eval phase="Traits" priority="5000"><![CDATA[var attidstr3 as string

if (#attrbonus[attrCha]>#attrbonus[attrInt]) then
if (#attrbonus[attrCon]>#attrbonus[attrCha]) then
attidstr3 = "attrCon"
else
attidstr3 = "attrCha"
endif
else
if (#attrbonus[attrCon]>#attrbonus[attrInt]) then
attidstr3 = "attrCon"
else
attidstr3 = "attrInt"
endif
endif

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr3]
perform assignstr["Attack." & attidstr3]]]>
      <after name="Calc attrBonus"/>
      </eval>
    </thing>
  </document>
