Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
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. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
Does anyone have any suggestions?
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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) 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. |
|
#4 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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. |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
Thank you so much. That worked!
|
#6 |
Junior Member
Join Date: Nov 2011
Posts: 10
|
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. |
#7 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#8 |
Junior Member
Join Date: Nov 2011
Posts: 10
|
FOUND IT! Just had to add shadowsh... extra files! Thanks!
|
#9 |
|
|