Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Angela2013
Senior Member
 
Join Date: Sep 2011
Location: Wisconsin
Posts: 321

Old February 25th, 2022, 03:45 PM
Can I get some help to design an Expr-Reqs Script where Draconic is needed before you get the feat?

Some days I don't know why I bother to chew through the restraints.

Last edited by Angela2013; February 25th, 2022 at 03:49 PM.
Angela2013 is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 25th, 2022, 03:49 PM
Do you mean a prerequisite, where knowing the draconic language is needed to take the feat, like the dragon disciple prestige class?
Mathias is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 25th, 2022, 03:56 PM
Actually, the "pick-req" on Dragon Disciple is a deprecated way of checking languages, and should be avoided, because it can't distinguish conditional bootstraps of languages, or languages that are disabled in a script.

hero.tagis[HasLanguage.lDraconic] <> 0

is the way to write that as an expr-req
Mathias is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 25th, 2022, 04:00 PM
Here is how to figure that out for yourself - in the Develop menu, make sure Enable Data File Debugging is turned on, and then choose "Floating Info Windows...Show Hero Tags" near the bottom of the Develop menu.


Then, type in "Draconic" (without the quotes) in the search box on that tag list. Then add the draconic language to your character, and compare the list of tags before and after - that's how to figure out that HasLanguage.lDraconic on the hero is a quick reference that the language has been added.
Mathias is offline   #4 Reply With Quote
Angela2013
Senior Member
 
Join Date: Sep 2011
Location: Wisconsin
Posts: 321

Old February 26th, 2022, 08:26 AM
Mathias that is the best advice I have ever had to figure out Expr-reqs. It worked perfectly. Thank you.

Though the advice to use HasLanguage.lDraconic is actually SpeakLang.lDraconic.

Some days I don't know why I bother to chew through the restraints.

Last edited by Angela2013; February 26th, 2022 at 08:29 AM.
Angela2013 is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 27th, 2022, 11:12 AM
Sorry about that, I forgot to look at the PF1 HLC code - the PF1 HLO code has had some Id changes.
Mathias is offline   #6 Reply With Quote
Reply

Thread Tools
Display Modes

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 08:19 AM.


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