Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Chance
Junior Member
 
Join Date: Apr 2007
Posts: 1

Old April 6th, 2007, 06:50 AM
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!]
Chance is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old April 6th, 2007, 07:52 PM
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/
Colen is offline   #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:24 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.