• 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

Class features granting bonus feats... with a twist

unforgivn

Well-known member
I'm still working on converting StarWars D20 into the system, and I've made good progress. The only base classes that remain unfinished are the two Jedi classes. At 7th level they get promoted to full Knight status and are granted a free feat from a small selection of Jedi-specific feats. I would just add a 1 to the bonus feat table for level 7 and call it done, but per my and my STs interpretations, levels in these two classes should stack for the purposes of acquiring this feat.

So I made a class ability called "Jedi Knight" and assigned it to both classes at level 7, and sure enough, when I add any combination of those classes totaling 7 levels the ability lights up as intended. I intended to finish up by copying the code from the Combat Trick rogue talent to add the feat, but I get "Linkage pick 'table' not located for current contect" when I add a level of either of these classes.

As far as I can tell I have the bonus feats section of each class set up as the rogue, so I'm really not sure what HL isn't liking.
 
The Combat Trick is a custom class ability, and its code will only work when present on a custom class ability, not on a class special - the way to transition from the ability to the class is different.

Use:

Code:
root.
instead of

Code:
linkage[table].
in your script.
 
The Combat Trick is a custom class ability, and its code will only work when present on a custom class ability, not on a class special - the way to transition from the ability to the class is different.

Use:

Code:
root.
instead of

Code:
linkage[table].
in your script.

Thanks! That was easy enough, but now I've run into a different issue -- both classes are granting a bonus feat when only one should be granted. Will checking for FirstCopy work when the instances of the ability are from different classes?

EDIT: Nevermind, FirstCopy works just fine.
 
Last edited:
OK, perhaps I spoke too soon. I loaded the system today, and now the feat isn't being granted at all. Maybe reloading the entire system had some effect that just testing the class ability didn't.
 
Just to make this worse, is there also a reference that I can use to make the bonus feat be added as a secondary instead of a primary? These classes also get bonus feats from specific selections at certain levels, and I can't use the Secondary Bonus Feat feature to grant them since those don't allow use of the Bonus For selections.
 
Can't you just choose a list of feats allowed on the Class tab, instead of choosing on the feat which classes may take that feat as a bonus?
 
Can't you just choose a list of feats allowed on the Class tab, instead of choosing on the feat which classes may take that feat as a bonus?

That would prevent me from adding in new feats that those picks may be used for as I add content from other books without specifying them all on the class (and even doing that would probably produce errors for someone who doesn't have all of the files present), but yes, it would work.

That still doesn't solve the issue of why the feat isn't being granted at all now when it worked last night.

EDIT: Aaaand, it's working again now without me changing anything. *proceeds to pull hair out*
 
Last edited:
Can you create a new feat category that all of these belong to?

The Knight feats, yes. The class bonus feats... well yeah, I guess I could just make a new feat category for each class. It'll be ugly, but it'll work just the way I need it to.
 
Done, and I found out why the class feature was working intermittently. Apparently checking FirstCopy invalidates the ability if there is only one copy on the character. Adding a level of another Jedi class makes it work. So for now I just disabled the FirstCopy check and will ignore the validation errors.

Thanks!
 
Got the whole issue fixed. Instead of just checking for FirstCopy, I checked like this:

Code:
doneif (tagis[Helper.FirstCopy] + tagis[Helper.OnlyCopy] = 0)

Now only one of the instances of the class ability grants the feat, as desired.
 
Do you have "Use Own Level?" checked? That's the only way that a class special with Helper.OnlyCopy couldn't also have Helper.FirstCopy.

The ability you've described should not have "Independand Copies?" or "Use Own Level?" checked.

Also remember to check for Helper.ShowSpec along with your check for Helper.FirstCopy - the non-active copy won't get that tag, even if the ability's reached the correct level.
 
Back
Top