• 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

Removing choices from class custom abilities

Pezmerga

Well-known member
If I wanted to remove some of the Custom Ability Wizard Specialist options when an archetype is active, how would I do so? Could I delete or alter the item's tag I want to be disabled as a selection that allows it to be selected in the first place? I'd like to do it in the Archetype coding itself if possible.

Basically I want the wizard to be limited to only specializing in the 8 schools of magic. No Universalist or subschools.

Edit: here is the archetype in a datafile.
 

Attachments

Last edited:
I can think of three ways to do this. The first is to make a replacement of each of the abilities you want to exclude, adding in a requirement forbidding the archetype in question.

The second is to add an Eval Rule or prereq to the archetype that complains if any of those selections are taken.

The third is to alter the field[cCstSpExpr].text on the Wizard class - add many " & !thingid.XXX" - one for each thing you want to exclude. This is the only method that keeps them from being visible in the list, but if the user selects the Universalist school before selecting the Archetype, this option won't prevent that, so you'll probably want to combine it with option 2. cCstSpExpr is generated at Final/9999999 (7 9's), so use Final/99999999 (8 9's) as your timing for this, since you want to add on to the end of the finished expression.
 
I can think of three ways to do this. The first is to make a replacement of each of the abilities you want to exclude, adding in a requirement forbidding the archetype in question.

The second is to add an Eval Rule or prereq to the archetype that complains if any of those selections are taken.

The third is to alter the field[cCstSpExpr].text on the Wizard class - add many " & !thingid.XXX" - one for each thing you want to exclude. This is the only method that keeps them from being visible in the list, but if the user selects the Universalist school before selecting the Archetype, this option won't prevent that, so you'll probably want to combine it with option 2. cCstSpExpr is generated at Final/9999999 (7 9's), so use Final/99999999 (8 9's) as your timing for this, since you want to add on to the end of the finished expression.

Since I am going to do this for forbidden schools as well, I think I will use the first option. so as a requirement id put in
pseudocode
#hasarchetype[arFocusedSpecialist id] = 0
whats the exact syntax on that?
edit: lol nevermind that was actually it.
 
Last edited:
Back
Top