|
Member
Join Date: Sep 2012
Posts: 34
|
I'm trying my hand at implementing the Stalker from Path of War, and I'm currently working on Critical Training from Stalker Arts. In addition to increasing Deadly Strike dice by one (which was easy enough), it also allows Stalker levels to count as Fighter levels for the purposes of qualifying for critical feats.
How do I go about this in the scripts for the ability? I'm hoping the answer isn't "edit every single critical feat in the game and add a check for this ability", since I'd rather keep things contained in my own files if possible. I feel like there should be an existing Class Special or Custom Ability that I could use as a base, but none come to mind. |
#1 |
Senior Member
Join Date: May 2014
Posts: 292
|
The class that will have this feature would be Warpriest (where the warpriest level counts as a fighter and as BAB), however currently that feature isn't implemented yet. So I think as it stands there is no example by default and you would probably need to wait till that one is finished.
That being said, I haven't messed enough with the editor yet to say it is currently unimplementable. |
#2 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
|
|
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
There is a tag you add to the character that is Feat Count As, you can add it right on the class if it's equal in level, unfortunately I don't think you can do it just for critical feats, it would do it for all feats that count fighter level, but I don't see any critical feats that count fighter levels. Critical Feats require the Critical Focus feat and BAB or Caster Level. Also I'm not sure if it's done yet, but if you check the community Player Pack or Bestiary I know they were working on the Path of War classes already.
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
I think I have seen at least a dozen times people making this class but then they never share it. Or they don't finish I am not sure. But if anyone has this class almost done or at least entered it would be really nice to share it. 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. |
|
#5 |
Member
Join Date: Sep 2012
Posts: 34
|
Quote:
On a related note: how do you access the name of a Custom Ability programatically? I am trying to get Rogue Talents working for the Stalker, but the "can't take Ki Pool or Underhanded" restriction is proving difficult. I started by copying the feature from the Aspis Agent PrC. I see the logic in the eval script for enabling Rogue Talents as a tertiary ability, but I'm trying to figure out how I can extend the expression to exclude the forbidden talents by name. Eval script copied from Aspis Agent: Code:
~ If we're not shown, just get out doneif (tagis[Helper.ShowSpec] = 0) hero.child[cHelpStk].field[cCstS3Expr].text = "(SpecSource.cHelpRog | SpecSource.cHelpNin) & !Helper.Secondary & !Helper.Tertiary & need something here where ability name != Underhanded" Code:
~ If we're not shown, just get out doneif (tagis[Helper.ShowSpec] = 0) ~ Allow all Rogue Talents (and Ninja Tricks by extension) except advanced talents, and also Ki Pool and Underhanded specifically hero.child[cHelpStk].field[cCstS3Expr].text = "(SpecSource.cHelpRog | SpecSource.cHelpNin) & !Helper.Secondary & !Helper.Tertiary & !Ability.cRogUnderh & !Ability.cRogKiPoo & !abCategory.RogTalAdv & !abCategory.NinTriMas" Last edited by shatterjack; September 28th, 2014 at 05:34 PM. |
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Quote:
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. |
||
#7 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
I'd actually use the HasAbility tag instead, because when thing A "counts as" thing B, it will have both it's own and thing B's HasAbility tag. Thus if you want B to be allowed, anything which counts as it will also be allowed when using HasAbility as a filter. That's something neither Ability or thingid will capture.
Also, while not every pick in HL has Ability/HasAbility tags, the type of abilities he is interested in, Custom class specials, do. I usually try to steer clear of using thingid in tag expressions. |
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Really? I swear I have always seen "thingid.?" used in expressions. Hmmmm 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. |
|
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Not saying it hasn't ever been used, but Colen has frowned on me for doing so in the past.
|
#10 |
|
|