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 February 7th, 2012, 04:33 AM
What would be the proper expression?
I am guessing Expr-reqs is the way to go about it.

#hasClassSkill[skSurvival] <> 0
Obviously this doesn't work, but I can't find the proper syntax. Anyone know? I can't think of any existing feats or anythign that has having a class skill as a prereq...and I tried going through the floating info windows.
Thanks
Pezmerga is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old February 7th, 2012, 04:40 AM
I think there are a few mounted combat feats that require riding at a certain level.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #2 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old February 7th, 2012, 05:13 AM
No luck with ride feats. They all just require ranks.

Starting to think maybe I should use a Pre-req script.

Code:
foreach pick in hero from Class where "ClassSkill.skSurvival"
  @valid = 1
  nexteach
Doesn't validate even if a class skill

Code:
foreach pick in hero from BaseSkill where "ClassSkill.skSurvival"
  @valid = 1
  nexteach
Validates even if it isn't a class skill...

Edit:
Code:
var searchexpr as string
searchexpr = tagids[ClassSkill.skSurvival]

foreach pick in hero from BaseSkill where searchexpr
  @valid = 1
  nexteach
Works. In case anyone ever needs similar code

Last edited by Pezmerga; February 7th, 2012 at 05:37 AM.
Pezmerga is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 7th, 2012, 07:35 AM
That one will be valid all the time.
Mathias is online now   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 7th, 2012, 07:36 AM
Right-click Survival on a blank character (make sure you have "Enable Data File Debugging" checked in the Develop menu first), and choose "Show Debug Tags for XXXXX".

Now, add a level of ranger, fighter, druid, or some other class that has Survival as a class skill.

Watch that list of tags - what changes?
Mathias is online now   #5 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old February 7th, 2012, 07:51 AM
It adds a Helper to make it a clas skill.

Each Skill appears to have the ClassSkill group name by default.
But not the ClassSkill Tag, that is added by Helper group name?
Which would be tagid Helper.ClassSkill ?

That right?
Pezmerga is offline   #6 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old February 7th, 2012, 08:26 AM
You found what I was hinting at - here's how to use it:

Code:
 
hero.child[skSurvival].tagis[Helper.ClassSkill] <> 0
(That's for an Expr-Req)

Last edited by Mathias; February 7th, 2012 at 08:30 AM.
Mathias is online now   #7 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 01:14 AM.


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