• 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

configurable class abilities

Frodie

Well-known member
I thought we could add class abilities to a configurable now. I don't see way with in the configurable, is there a script for it?
 
I was thinking of

Code:
  final 999999999

linkage[table].field[cCstSpExpr].text = "(SpecSource.cHelpMdH) & !Helper.Secondary & !Helper.Tertiary & !Helper.Quaternary & !Helper.Quintenary & !Helper.Obsolete"

but that isn't it. Any ideas?
 
Class abilities don't usually start with a SpecSource tag, it is assigned to them when they become picks by the class or whatever it is that bootstraps them. Nor do they typically have Helper.Secondary or other similar tags. Are you instead referring to Custom Special abilities?
 
A class's "Custom Ability", but I kind of gave up on it and put in on the back burner. I am sure there is way, but it's not high on the list of things I need to do.
 
This is definitely doable. I recently had to implement a class that can access a wide variety of custom specials from other classes, and because classes only have five "slots" for custom special lists, I offloaded most of the "borrowed" custom specials to configurables.

I'm not in front of my HL computer right now so I can't go into detail. But if memory serves I used a tag expression similar to what's in your second post, except I think I needed to add "component.BaseCustSp" or something similar. I'll try to confirm once I'm home.
 
Gah, forgot about this thread over the weekend. Sorry, Frodie.

Anyway, in one example, to enable Oracle Curses in a configurable I put "SpecSource.cHelpOra & Helper.Secondary & !Helper.Obsolete" into the cfgAllow1 field. For basic Witch Hexes in the same configurable, I put "SpecSource.cHelpWit & !Helper.Secondary & !Helper.Tertiary & !Helper.Quaternary &!Helper.Quintenary & !Helper.Obsolete & !abCategory.WitHexMaj & !abCategory.WitHexGra" into cfgAllow2.

I did this directly in the editor instead of programatically, but I can't think of any reason why it wouldn't work if you accessed the configurable through its id via hero.child or hero.childfound.
 
Yes it is quite possible. It is what I have been doing for the Noble class in Freeport.

For example for an oracle's mystery and revelations I have the following on a special:

Code:
Post-Levels/10055

doneif (tagis[Helper.ShowSpec] = 0)

~ set up configurable for mysteries
hero.childfound[cfgGRNbOra].field[cfgAllow1].text = "component.Ability & abCategory.OraMys & !Helper.Helper & !Helper.Obsolete"

~ allow 1 mystery to be chosen
hero.childfound[cfgGRNbOra].field[cfgMax1].value += 1


~ revelations
~ if we haven't chosen a mystery, get out
doneif (hero.haschild[Ability,"abCategory.OraMys & CustTaken.cfgGRNbOra"] = 0)

~ get our list of revelations for our chosen mystery
var revs as string
revs = hero.findchild[Ability,"abCategory.OraMys & CustTaken.cfgGRNbOra"].tagids[Custom.Myst?,"|"]

hero.childfound[cfgGRNbOra].field[cfgAllow2].text = "component.Ability & !Helper.Helper & !Helper.Obsolete & " & "(" & revs & ")"

~ allow one revelation
hero.childfound[cfgGRNbOra].field[cfgMax2].value += 1

Here I have the mysteries on the configurable primary custom ability and the revelations on the secondary.

There is one more thing to consider. If you are adding class abilities that have a Secondary, Tertiary, etc. tag and you are adding it in a different position, you may need to delete that tag and replace it with the appropriate one so it does not show up twice on the configurable.

For example, a wizard's arcane bond abilities has the Helper.Tertiary tag. I am implementing it as Secondary on the configurable. So at First/10010 I look for any arcane bond ability taken by my configurable and delete its Helper.Teritary tag. HL takes care of giving it the Helper.Secondary tag by itself.
 
Back
Top