Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 17th, 2010, 09:15 AM
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.
Attached Files
File Type: zip Focused Specialist.zip (1.4 KB, 0 views)

Last edited by Pezmerga; December 17th, 2010 at 09:44 AM.
Pezmerga is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 17th, 2010, 09:55 AM
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.
Mathias is online now   #2 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 17th, 2010, 10:10 AM
Quote:
Originally Posted by Mathias View Post
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 by Pezmerga; December 17th, 2010 at 10:43 AM.
Pezmerga is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:19 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.