Junior Member
Join Date: Aug 2010
Posts: 8
|
I am creating a race (Taddol) and I am having a problem getting their Two-Weapon Fighting racial feature working. The feature grants access to Two-Weapon Fighting and then allows the hero to ignore the dex requirement for Improved Two Weapon Fighting and Greater Two-Weapon Fighting if they choose to select it. Does anyone have any suggestions on how to go about this?
Thanks, |
#1 |
Senior Member
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322
|
Are you creating these as Racial Specials? I would go that route and give the feats as abilities.
Web site - Cheese Weasel Logistics - www.cheeseweasel.net Twitter - @CheeseWeaselGMZ For user created content check out www.d20pfsrd.com and www.cheeseweasel.net For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5 |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
You can do a "new copy" against Improved Two Weapon Fighting and Greater Two-Weapon Fighting feats in the editor. Then use the "Replace Thing ID" on the right side to fill in the the CORE Unique ID for the feats. This allows you to change the feat to act differently.
Remove the Dex check out of "Expr-Req" and move that logic down to the "pre-reqs" instead. Then what you want to do is be able to say if you have a 13 Dex or this Taddol race that we are valid. You can't exactly do an "OR" statement in HL. Sometimes what you do is do two different checks and add the results together and say <> 0. In this case think its easier for two IF statement checks instead. Code:
~ assume we are NOT valid @valid = 0 ~ See if we have a 13+ dex and if so we are valid if (#attrvalue[aDEX] >= 13) Then @valid = 1 endif ~ See if we are the Taddol race and if so we are valid if (#hasrace[rTaddol] <> 0) Then @valid = 1 endif For Mathias so I don't get in trouble for not showing a shorter way we can do the following to mean the same thing: Code:
~ If we have a 13+ dex we are valid so get out NOW validif (#attrvalue[aDEX] >= 13) ~ If we are the Taddol race we are valid so get out NOW validif (#hasrace[rTaddol] <> 0) Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#3 |
Junior Member
Join Date: Aug 2010
Posts: 8
|
Thanks that worked great.
|
#4 |
|
|