Okay, in my slow work on cleaning up the 4e file, one of the items I hit was a "armor" proficiency for an item called a Barbed Shield. Its pre-req was supposed to be proficiency in Heavy Shield. The feat was listed incorrectly as an armor, rather than shield proficiency, but that was just a nomenclature error and easily fixed.
However, when I entered the proper id in the pick-req, (and it was a proper one, since the Editor accepted it), it still doesn't prevent the feat from being picked; I double checked to make sure that the character involved didn't have that proficiency, and they don't.
Can anyone else see why this wouldn't be working as intended? I've used pick-reqs a million times, and while I've had them not be accepted for any number of reasons, this is the first time I've seen one be accepted but not work.
However, when I entered the proper id in the pick-req, (and it was a proper one, since the Editor accepted it), it still doesn't prevent the feat from being picked; I double checked to make sure that the character involved didn't have that proficiency, and they don't.
Can anyone else see why this wouldn't be working as intended? I've used pick-reqs a million times, and while I've had them not be accepted for any number of reasons, this is the first time I've seen one be accepted but not work.
Code:
thing id="ftShieBa" name="Shield Proficiency: Barbed Shield" description="{b}Benefit{/b}: You gain proficiency with barbed shields." compset="Feat" uniqueness="useronce">
<fieldval field="reqText" value="Proficiency with heavy shields"/>
<usesource source="MordensEmp" parent="Supplement" name="Mordenkainen's Magnificent Emporium"/>
<tag group="Hide" tag="Special" name="Special" abbrev="Special"/>
<tag group="Tier" tag="Heroic" name="Heroic Tier" abbrev="Heroic Tier"/>
<eval phase="Setup" priority="5000">perform hero.assign[ArmorProf.apShieldBr]
<before name="Armor type proficiencies"/>
</eval>
<pickreq thing="apShieldHv"/>
<prereq message="Already proficient with this armor.">
<validate><![CDATA[
validif (@ispick <> 0)
@valid = !hero.tagis[ArmorProf.apShieldBr]]]></validate>
</prereq>
</thing>