<thing id="cRgrX1SlFu" name="Slashing Fury" description="Beginning at 3rd level, the sword-devil can use her Charisma score in place of her Intelligence score as a prerequisite for combat feats. Additionally, she selects one type of light or one- handed slashing melee weapon. When using this weapon, she may use her Dexterity modifer instead of her Strength modifer on melee attack rolls. At 8th level and every 5 levels thereafter (13th and 18th). the sword-devil may select an additional type of light or one-handed slashing weapon she may use with this ability. This ability counts as having the Weapon Finesse feat for the purpose of meeting feat prerequisites.\n\nThis ability replaces favored terrain." compset="ClSpecial" summary="Use Dex instead of Str on melee attack rolls w/selected weapons.">
<fieldval field="usrCandid1" value="component.BaseWep & wCategory.Melee & wType.S & (wClass.Light|wClass.OneHanded)"/>
<tag group="AbilType" tag="Extra"/>
<tag group="HasAbility" tag="cSwsFiness"/>
<tag group="ChooseSrc1" tag="Thing"/>
<tag group="LvNamePar" tag="AppText"/>
<tag group="User" tag="NoAutoName"/>
<tag group="ProductId" tag="HLCommunit"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ If nothing chosen get out now
doneif (field[usrChosen1].ischosen <> 1)
~ Get the Is Weapon tags
perform field[usrChosen1].chosen.pulltags[IsWeapon.?]
~ We are not the primary ability to hold the weapon tags then
~ push tags to the primary ability.
If (tagis[Helper.FirstCopy] = 0) then
perform hero.findchild[BaseClSpec,"Ability.cRgrX1SlFu & Helper.FirstCopy"].pushtags[IsWeapon.?]
Endif]]></eval>
<eval phase="PostLevel" priority="15000" index="2"><![CDATA[
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ Weapon Finesse feat for the purpose of meeting feat prerequisites
perform hero.assign[HasFeat.fWepFin]
~ Loop through the characters weapons and allow attacks to use
~ Dex or Str.
foreach pick in hero from BaseWep where tagids[IsWeapon.?,"|"]
perform eachpick.assign[MelAttOpt.aDEX]
nexteach
~ Set all weapon names into abText to be appened to name
field[abText].text = tagnames[IsWeapon.?]]]></eval>
</thing>