using a Hero tag in a pre-requisite
In attempt to set up a couple 4e feats so they're properly checking for pre-requisites (specifically a couple that will let you take the feat if you have a high enough value in a specific attribute or are a particular race), I tried to do this in the pre-req script:
Code:
validif (#trait[attrCha] >= 13) Any help? |
There's nothing wrong with that code that I can see - I do prereq tests for tags on the hero in lots of places.
Time for some tag debugging - make sure the tag you're expecting is actually in place, and make sure that you've spelled it correctly. |
This is why you don't fiddle with code when you're sleepy.
Since the whole point in that section of code is to allow you to chose the feat if you have either of the pre-requisite, of course it wasn't excluding the eladrin warrior from taking it--they had the attribute prerequisite... Sorry to bother people... |
All times are GMT -8. The time now is 01:40 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.