Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
So... I'm inputting all the data for the feats from TPK Games Laying Waste book. I've just been working on the data entry so far since the greater majority of the feats don't have any actual effect in HL, I'm making sure they at least show up correctly for selection.
I'm stuck on the feat Monk Weapon Proficiency: Quote:
I have other prerequisites that use "or" set up in the Pre-reqs button as two validif expressions and they are working like a charm. I'm not able to get the Monk level 1st to work right in a validif expression. So far I have this: Code:
validif (#hasfeat[fWepMart] <> 0) validif (#levelcount[cMonk] >= 1) Quote:
Currently Playing: Pathfinder - Skull & Shackles AP Current Character: Legendary Gunslinger 11 Currently DMing: D&D 5E - AAW Games A-Series |
||
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
So #levelcount[cMonk] is actually turned into a hero.tagcount[Classes.cMonk] statement by the compiler. If you add a level of monk to your character and look at the hero tags for Classes.? you will find its Classes.Monk is the correct tag.
For the "or" logic you can leave what you have as if "either" validif() is correct you are good. Another way to combine the logic together is like this: Code:
validif (#hasfeat[fWepMart] + #levelcount[Monk] <> 0) What you have works the above is just an FYI encase you see this type of logic elsewhere. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
So... in checking out what you did there Shadow, it looks as though I was trying too hard and entered in the ClassLevel ID (cMonk) when all I needed to do was just name of the class (Monk).
I was apparently trying to make it too difficult...or at least more difficult than it needed to be. Thanks! Worked like a charm. Currently Playing: Pathfinder - Skull & Shackles AP Current Character: Legendary Gunslinger 11 Currently DMing: D&D 5E - AAW Games A-Series |
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I believe you also want to use the #featlevelcount[] macro not just #levelcount as that counts classes that "count as" a class for feats.
|
#4 |
|
|