Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old January 21st, 2015, 07:47 PM
So I'm trying to create a new mythic path ability that requires Fighter Weapon Training as a prerequisite. It doesn't matter which one you have, you just have to have one. I can't seem to find the thing that allows this. I've tried searching but when I use #hasability[cFtrWeapTr] <> 0 the ability is grayed out.

Thanks for any help you can provide.
blzbob is offline   #1 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old January 24th, 2015, 06:03 AM
Does anyone have any suggestions?
blzbob is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old January 24th, 2015, 08:36 AM
Weapon training is a primary custom ability of the fighter class, so you could check for a non-zero cGiveSpec field on the fighter class helper. Alternately, your pre-req could foreach through all custom special abilities with the abCategory tag for the fighter weapon training abilities and validate if it finds at least one.
Aaron is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 24th, 2015, 09:05 AM
Quote:
Originally Posted by Aaron View Post
Weapon training is a primary custom ability of the fighter class, so you could check for a non-zero cGiveSpec field on the fighter class helper. Alternately, your pre-req could foreach through all custom special abilities with the abCategory tag for the fighter weapon training abilities and validate if it finds at least one.
As we just need "one" of these to be valid and we don't care which one I would use a findchild instead as its a little less CPU overhead.

This would go onto a Pre-reqs section instead:
Code:
~ Try and find any Fighter Weapon Training ability
perform hero.findchild[BaseCustSp,"abCategory.FtrWepTra"].setfocus

~ If we found any Fighter Weapon Training we are valid.
validif (state.isfocus <> 0)
If you are using any "Custom" Fighter Weapon Training abilities the above won't find them if you don't put the correct abCategory tag on them. This would apply to most 3PP stuff and community stuff. As the abCategory tag is very new and doubtful many people even started using it yet outside of LW.

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.
ShadowChemosh is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old January 24th, 2015, 10:46 AM
I don't think the newness of abCategory really matters for Fighter weapon training, since they are based on weapon groups, as it doesn't seem like that is something which is likely to be expanded.

But certainly keep that in mind if you ever want to pull this trick for something which is likely to have seen significant community expansion, like sorcerer bloodlines or alchemist discoveries.

Last edited by Aaron; January 24th, 2015 at 10:49 AM.
Aaron is offline   #5 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old January 25th, 2015, 05:57 AM
Thank you so much. That worked!
blzbob is offline   #6 Reply With Quote
tampasatyr
Junior Member
 
Join Date: Nov 2011
Posts: 10

Old February 4th, 2015, 04:49 PM
I am an idiot.

Truth in advertising, let's hope it helps! My GM has given our group a Legendary Item Mythic Path Ability for free. And some of us have earned other extra mythic abilities, my character for instance has Longevity as well for free.

How would I add an option in Adjust Tab, Other Adjustments to add an extra Mythic Path ability or Feat, like you can already add Bonus Feats to your character.

While I say I am an idiot, I have managed to build custom magic items (Vests of Resistance, Bracers of Strongjaw, etc.) for various different campaigns, but those were relatively easy to copy an existing item then make some tweaks, but this is a horse of a different color all together...

I would sincerely appreciate the assistance. Thank you again.

Sincerely,
The Idiot
Costanza is my Lord!

Last edited by tampasatyr; February 4th, 2015 at 05:00 PM.
tampasatyr is offline   #7 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old February 4th, 2015, 04:51 PM
I can pretty easily add an adjustment for those. Check out ShadowChemosh's adjustments in the community files, he may already have something for that.
Aaron is offline   #8 Reply With Quote
tampasatyr
Junior Member
 
Join Date: Nov 2011
Posts: 10

Old February 4th, 2015, 05:03 PM
FOUND IT! Just had to add shadowsh... extra files! Thanks!
tampasatyr is offline   #9 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 01:28 PM.


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