Member
Join Date: May 2014
Posts: 33
|
I'm working on the Bladesinger Arcane Tradition from the Sword Coast Adventurer's Guide. I've created a custom ability for the tradition and started with the first thing given to them.
First of all, how do I ensure the player is either an elf or a half-elf? I have the following in Expr-reqs but it gives an error. I'm sure my syntax is wrong. hero.pHdRace = rElf or hero.pHdRace = rHalfElf Also, how do I make it give a skill when this is chosen? In the class special, "Training in War and Song" I've set an "Auto-Add" for the Performance skill. Is this the correct way? Last but not least, at least for this question, how do I allow proficiency with a single weapon one-handed weapon type? Is that even possible? |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
For your race expr-req
#hasrace[rElf] + #hasrace[rHalfElf] <> 0 I'm 99 percent sure Auto-add isn't the right way. For the skill, it is always the same skill? Or does the user choose among several possible skills? Either way you'll need to assign the ClassSkill.WHATEVER tag to the hero, but if the user chooses then you'll need to set up a selector to pull the tag from the chosen skill first. For the weapon thing, I'm a little puzzled as to your sentance structure. Do you mean the character gets to choose a single one-handed weapon and gain proficiency in that? You'd handle that in a similar way to how I mentioned selecting among skills. Give the ability a selector to choose a weapon, pull the WepProf tag, and then push it to the hero. |
#2 |
Member
Join Date: May 2014
Posts: 33
|
Ok the race expr-req looks great. The Arcane Tradition is Bladesinging and they are given the skill "Performance" as part of the Training in War and Song feature of Bladesinging. Where would I put the ClassSkill part in?
|
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
In an eval script on your class special, assign the tag to the hero, like so:
Code:
~ Stop if this class special is disabled doneif (tagis[Helper.Disable] <> 0) perform hero.assign[ClassSkill.skPerform] |
#4 |
Junior Member
Join Date: Feb 2016
Posts: 9
|
I am not sure if I have things setup right because I get a Syntax error when I test the class special ability
Group "ClassSkill" not defined |
#5 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
My mistake, ClassSkill is what it is in Pathfinder. It looks like the new tag group for 5e is ProfSkill, try that.
|
#6 |
Member
Join Date: May 2014
Posts: 33
|
I'll give it a shot when I get home. Thanks Aaron! For the weapon proficiency, they are allowed to pick a single one-handed weapon to become proficient in. So I should make an array menu of all the one-handed weapons, then assign the one chosen? I think there's an example in the Feat threat of the menu, but how do you assign the chosen weapon proficiency?
|
#7 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
The array field has a limited number of rows, certainly not enough for every weapon. In addition, doing that way would mean you'd have to update the thing every time a new weapon which qualified was added.
In this case you want to create a selector that looks at all possible Things and narrows the list down to just those that qualify by using a Candidate expression (that's covered a bit in the terminology section of tutorial 3). Although you can't change Things, you can pull information from them, so you'll want to pull the proficiency tag from the selected weapon to your Pick, and then forward that tag from the pick to the hero. Use data file debugging (Develop -> Enable Data File Debugging, then right click weapons added to your hero and "Show Debug tags") to see what sort of tags are on weapons, and decide which of those you need to filter for in your Candidate expression. Also figure out which of those tags you need to pull and then push to the hero. |
#8 |
Member
Join Date: May 2014
Posts: 33
|
Is there some documentation on Selectors and Candidate expressions? Sorry for all the questions, I'm new Hero Lab.
|
#9 |
Junior Member
Join Date: Feb 2016
Posts: 9
|
I have tried to set up the selection of the 1 handed melee weapon using
component.NormalWep and trying to filter with wCategory.Melee Property.Light wProperty.Finesse wProperty.Versatile) I had to set "all things" to get a weapon not owned by the hero but I am getting magic staves and rods in my list some how. Really confused on the logic statement needed. Any ideas would be fantastic |
#10 |
|
|