<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="ftBindInit" name="Binding Initiate" description="{b}Benefit{/b}: You gain training in one skill from the binder warlock&apos;s class skills list. You also gain proficiency with rods and wands.{br}Choose a binder pact boon. You gain the at-will attack power and the utility power it grants at 1st level as encounter powers." compset="Feat" replaces="ftBindiIni" uniqueness="useronce">
    <fieldval field="usrCandid1" value="component.Skill &amp; (thingid.skArcana | thingid.skBluff | thingid.skHistory | thingid.skInsight | thingid.skIntimida | thingid.skReligion | thingid.skStreetwi | thingid.skThievery)"/>
    <usesource source="Dragon" parent="Adventure" name="Dragon Magazine"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <tag group="Hide" tag="Special"/>
    <tag group="Multiclass" tag="clsWarlock" name="Warlock" abbrev="Warlock"/>
    <eval phase="Initialize" priority="1000" index="2"><![CDATA[
      ~ignore if partial
      perform hero.assign[ImplemType.itRod]
      perform hero.assign[ImplemType.itWand]

      var title as string
      var expr as string
      title = "Warlock Pact"
      expr = "BuildOpt.fWlkEldPac & !thingid.fWlkEldPac"
      call MultChoice
      doneif (state.isfocus = 0)

      ~turn all the pact at-will powers into encounter powers
      foreach pick in hero from Power where "PowerClass.clsWarlock"
        if (eachpick.tagis[thing.user_added] = 0) then
          perform eachpick.delete[PowerType.AtWill]
          perform eachpick.assign[PowerType.Encounter]
          perform eachpick.assign[thing.skipprereq]
          endif
        nexteach]]>
      <before name="Calc sklTrained"/>
      <before name="opcExpr must be final"/>
      </eval>
    <eval phase="Traits" priority="1000">perform field[usrChosen1].chosen.assign[Helper.TrainedAut]
      <before name="Calc sklTrained"/>
      </eval>
    </thing>
  </document>
