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
sebacore
Member
 
Join Date: Feb 2011
Posts: 46

Old June 28th, 2011, 04:06 PM
I am working on creating a fighter archetype that has both the Weapon Training and Rogue Talent abilities. I can't seem to get this to work. When adding Rogue Talents it just adds them to the Weapon Training Ability.

How can I get both of the primary abilities?
sebacore is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 28th, 2011, 04:39 PM
Check the Cleric's Rage Domain from the APG - that has a script that modifies its class to make the secondary abilities table of the cleric class allow the user to select from the primary barbarian abilities.

Note that a cleric domain gets to its class with:

Code:
linkage[table].
And an archetype gets to its class with:

Code:
 
linkage[varies].
Mathias is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 21st, 2011, 05:49 AM
Ok, ther error I get with this is

Linkage pick 'table' not located for current context

Using the scripts from the rage domain in a class.
Frodie is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 21st, 2011, 07:55 AM
Did you make the swap in the code that I described in my previous post?
Mathias is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 21st, 2011, 09:38 AM
yep, I tried both, but it will not work on a class as a script
Frodie is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 21st, 2011, 09:56 AM
Please define "tried both" (as in post the eval script you tried)
Mathias is offline   #6 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 21st, 2011, 10:03 AM
Thank you again for the help. It works as a custom ability, but I want to attach it to the class so the cleric domains show up in the tertiary along with it other abilities.

Post-levels 5000

~modify our linked class to add cleric domains

~we'll use the tertiary abilities slot for these

linkage[table].field[cCustTeTot].arrayvalue[11] += 1
linkage[table].field[cCustTeTot].arrayvalue[15] += 2
linkage[table].field[cSpec3rdSi].text = "Illumination"



Final Phase 2147483647


~we'll overwrite the tertiary abilities' expression, since we need
~to make them use primary cleric abilities

linkage[table].field[cCstS3Expr].text = "(SpecSource.cHelpClr + SpecSource.cHelpMdH+ SpecSource.cHelpMAH) & !Helper.Secondary & !Helper.Tertiary"
Frodie is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 21st, 2011, 10:34 AM
Now, in those scripts, can you see how it's trying to transition to the thing that owns the table that added it?

That's how custom abilities and cleric domains get to their class.

How would you change that so that it's using the method that archetypes use to transition to the class they modify?
Mathias is offline   #8 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old December 21st, 2011, 10:50 AM
IDK, is there an archetype I can look at that moves the domains?
Frodie is offline   #9 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 21st, 2011, 10:53 AM
In post #2, I gave two pieces of code - one that's used by custom abilities, the other that's used by archetypes.

Do you see the one for custom abilities in those scripts? (I see it used 4 times).
Mathias is offline   #10 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 02:45 AM.


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