• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

How to ignore Trait prereqs for an Edge?

Gumbytie

Well-known member
Back to gaslight, but will affect another data-set I am working on as well. So some of the Races automatically 'gift' an Edge upon selecting that Race.

For example, the Wilding race receive the Dodge Edge at creation. So I know how to code to ignore Rank Requirements (which I did):

Code:
    <!-- Ignores rank requirements for race given Edges -->
    <eval index="2" phase="Validate" priority="100"><![CDATA[
	foreach pick in hero from Edge where "(MinRank.1 | MinRank.2 | MinRank.3)"
   		if (eachpick.creation = 1) then
      		perform eachpick.assign[Helper.IgnoreRank]
   		endif
	nexteach
      ]]></eval>

What would be a code to ignore the requirement for a Trait, for Dodge it would be "Agility d8 required." If I don't have this code, it works fine just spits out a Validation error.

Looking for suggestions.

Cheers
 
I don't know that there is an easy way to do that. I'm assuming the issue here is to add a Racial Ability that Bootstraps the Dodge (or whatever) Edge. I can think of a couple of way to work around the requirement error. You could copy the Dodge Edge, remove the requirement, and set it with a pre-req of that Race and bootsrap that new version of the Edge. Or you could simply add the effect of the Edge in question directly to the Racial Ability itself. Personally I'd just do the latter.
 
Back
Top