<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="ftWndExp" name="Wand Expertise" description="{b}Benefit{/b}: You gain a +1 feat bonus to implement attack rolls that you make with a wand. This bonus increases to +2 at 11th level and +3 at 21st level.{br}Also, you ignore partial cover and superior cover on implement attacks you make with a wand." compset="Feat" replaces="ftWandExp" uniqueness="useronce">
    <usesource source="PlEsHeroFa" parent="Supplement" name="Heroes of the Fallen Lands"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Setup" priority="1000"><![CDATA[
  ~work out what our attack bonus should be
      var bonus as number
      if (hero.tagvalue[Level.?] < 11) then
        bonus = 1
      elseif (hero.tagvalue[Level.?] < 21) then
        bonus = 2
      else
        bonus = 3
        endif

      ~add an appropriate number of 'attack bonus' tags
      foreach pick in hero where "EquipIndex.? & ImplemType.itWand"
        var i as number
        for i = 1 to bonus
          perform eachpick.assign[Helper.AttBonus]
          next
        nexteach]]></eval>
    </thing>
  </document>
