Junior Member
Join Date: Apr 2007
Posts: 1
|
How do you set a variable class ability (like sneak attack) as a prereq for a feat? I've tried it various ways and I just keep getting errors when comp'ing, but the rest of it goes through fine. I may even be using the wrong names, but have tried all of them that I could find for sneak attack listed in the other dat files. [The feat I was adding was Arterial Strike from the CW book, so not having that show as a Prereq won't matter much, but it's jut bugging me and stuff!]
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Chance wrote:
> > > How do you set a variable class ability (like sneak attack) as a prereq > for a feat? I've tried it various ways and I just keep getting errors > when comp'ing, but the rest of it goes through fine. I may even be using > the wrong names, but have tried all of them that I could find for sneak > attack listed in the other dat files. [The feat I was adding was > Arterial Strike from the CW book, so not having that show as a Prereq > won't matter much, but it's jut bugging me and stuff!] If you want a pre-req to say "Only valid if you have 5d6 (or more) of Sneak Attack damage", you could do this: ---- ~ We're valid by default @valid = 1 ~ If we have less than 5 dice of sneak attack, we're not valid if (childfound[xSneakAtt].field[Value].value < 5) then @valid = 0 endif ---- Hope this helps, -- Colen McAlister (colen@wolflair.com) Chief Engineer, Lone Wolf Development http://www.wolflair.com/ |
#2 |
|
|