Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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. Last edited by Pezmerga; December 17th, 2010 at 09:44 AM. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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. |
#2 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
pseudocode #hasarchetype[arFocusedSpecialist id] = 0 whats the exact syntax on that? edit: lol nevermind that was actually it. Last edited by Pezmerga; December 17th, 2010 at 10:43 AM. |
|
#3 |
|
|