Member
Join Date: Apr 2017
Posts: 73
|
I feel like I know this but I am missing it. How do I add a feat only if they have x amount of ranks for a class special
I.e., the Custom Ability needs 5 ranks of perform: Weapon Drill and they get two-Weapon fighting. |
#1 |
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,126
|
The #skillranks macro checks if you have ranks in a particular skill. Use it with If/then to assign the feat.
eg: #skillranks(skXXXXX) >= 5 Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew). HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP). DM and player of D&D since 1980. |
#2 |
Member
Join Date: Apr 2017
Posts: 73
|
That's the issue. I am not sure how to add a feat within the eval script
|
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Are you trying to bootstrap a feat to a custom ability if a character has the appropriate number of skillranks? If so, I think what you will have to do is bootstrap the feat with appropriate Disable tags (Helper.FtDisable is one I can think of) that you can remove if #skillranks proves true. Normally I would suggest using a bootstrap condition, but I think the number of skillranks can't be determined until later so this way the feat is there, but hidden until you unhide it because the character has hit the required skillranks.
Last edited by Sendric; April 8th, 2024 at 01:00 PM. |
#4 |
Member
Join Date: Apr 2017
Posts: 73
|
Yes, I am trying to add a bootstrap a feat to a custom ability if a character has the appropriate number of skillranks. In the boot strap condition I have used 'hero#Helper.SpcDisable <>0' with Frist 500. It works to not add the feat but as you stated the it seems the number of skill ranks cannot be proven at this time.
if I change it to any other phase after first I get Code:
condition phase/priority (anything that I have choosen that is not first) for bootstrap 'fWepFoc' occurs after earliest rule.script (First/10999) |
#5 |
Senior Member
Join Date: Jul 2010
Posts: 3,151
|
Quote:
|
|
#6 |
|
|