<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Data">
  <thing id="ftMelTrnDx" name="Melee Training (Dex)" description="{b}Benefit{/b}: Choose an ability other than Strength. When you make a melee basic attack using a weapon with which you have proficiency, you can use the chosen ability instead of Strength for the attack roll. In addition, you can use half of that ability&apos;s modifier, instead of your Strength modifier, for the damage roll." compset="Feat" uniqueness="useronce">
    <usesource source="PHB2" parent="Supplement" name="Player&apos;s Handbook 2"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Traits" priority="10000"><![CDATA[perform hero.child[pwBasicMel].delete[Attack.attrStr]
perform hero.child[pwBasicMel].delete[DamageAttr.attrStr]
perform hero.child[pwBasicMel].assign[Attack.attrDex]
perform hero.child[pwBasicMel].assign[DamageAttr.attrDex]

var DamMod as number

DamMod=#attrbasebonus[attrDex]
DamMod=int(DamMod/2+.5)  
DamMod=DamMod*-1

perform hero.child[pwBasicMel].field[pwDamBonus].modify[+,DamMod,""]]]></eval>
    </thing>
  <thing id="ftMelTrnCn" name="Melee Training (Con)" description="{b}Benefit{/b}: Choose an ability other than Strength. When you make a melee basic attack using a weapon with which you have proficiency, you can use the chosen ability instead of Strength for the attack roll. In addition, you can use half of that ability&apos;s modifier, instead of your Strength modifier, for the damage roll." compset="Feat" uniqueness="useronce">
    <usesource source="PHB2" parent="Supplement" name="Player&apos;s Handbook 2"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Traits" priority="10000"><![CDATA[perform hero.child[pwBasicMel].delete[Attack.attrStr]
perform hero.child[pwBasicMel].delete[DamageAttr.attrStr]
perform hero.child[pwBasicMel].assign[Attack.attrCon]
perform hero.child[pwBasicMel].assign[DamageAttr.attrCon]

var DamMod as number

DamMod=#attrbasebonus[attrCon]
DamMod=int(DamMod/2+.5)
DamMod=DamMod*-1

perform hero.child[pwBasicMel].field[pwDamBonus].modify[+,DamMod,""]]]></eval>
    </thing>
  <thing id="ftMelTrnIn" name="Melee Training (Int)" description="{b}Benefit{/b}: Choose an ability other than Strength. When you make a melee basic attack using a weapon with which you have proficiency, you can use the chosen ability instead of Strength for the attack roll. In addition, you can use half of that ability&apos;s modifier, instead of your Strength modifier, for the damage roll." compset="Feat" uniqueness="useronce">
    <usesource source="PHB2" parent="Supplement" name="Player&apos;s Handbook 2"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Traits" priority="10000"><![CDATA[perform hero.child[pwBasicMel].delete[Attack.attrStr]
perform hero.child[pwBasicMel].delete[DamageAttr.attrStr]
perform hero.child[pwBasicMel].assign[Attack.attrInt]
perform hero.child[pwBasicMel].assign[DamageAttr.attrInt]

var DamMod as number

DamMod=#attrbasebonus[attrInt]
DamMod=int(DamMod/2+.5)
DamMod=DamMod*-1

perform hero.child[pwBasicMel].field[pwDamBonus].modify[+,DamMod,""]]]></eval>
    </thing>
  <thing id="ftMelTrnCh" name="Melee Training (Cha)" description="{b}Benefit{/b}: Choose an ability other than Strength. When you make a melee basic attack using a weapon with which you have proficiency, you can use the chosen ability instead of Strength for the attack roll. In addition, you can use half of that ability&apos;s modifier, instead of your Strength modifier, for the damage roll." compset="Feat" uniqueness="useronce">
    <usesource source="PHB2" parent="Supplement" name="Player&apos;s Handbook 2"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Traits" priority="10000"><![CDATA[perform hero.child[pwBasicMel].delete[Attack.attrStr]
perform hero.child[pwBasicMel].delete[DamageAttr.attrStr]
perform hero.child[pwBasicMel].assign[Attack.attrCha]
perform hero.child[pwBasicMel].assign[DamageAttr.attrCha]

var DamMod as number

DamMod=#attrbasebonus[attrCha]
DamMod=int(DamMod/2+.5)
DamMod=DamMod*-1

perform hero.child[pwBasicMel].field[pwDamBonus].modify[+,DamMod,""]]]></eval>
    </thing>
  <thing id="ftMelTrnWi" name="Melee Training (Wis)" description="{b}Benefit{/b}: Choose an ability other than Strength. When you make a melee basic attack using a weapon with which you have proficiency, you can use the chosen ability instead of Strength for the attack roll. In addition, you can use half of that ability&apos;s modifier, instead of your Strength modifier, for the damage roll." compset="Feat" uniqueness="useronce">
    <usesource source="PHB2" parent="Supplement" name="Player&apos;s Handbook 2"/>
    <tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
    <eval phase="Traits" priority="10000"><![CDATA[perform hero.child[pwBasicMel].delete[Attack.attrStr]
perform hero.child[pwBasicMel].delete[DamageAttr.attrStr]
perform hero.child[pwBasicMel].assign[Attack.attrWis]
perform hero.child[pwBasicMel].assign[DamageAttr.attrWis]

var DamMod as number

DamMod=#attrbasebonus[attrWis]
DamMod=int(DamMod/2+.5)
DamMod=DamMod*-1

perform hero.child[pwBasicMel].field[pwDamBonus].modify[+,DamMod,""]]]></eval>
    </thing>
  </document>
