Senior Member
Join Date: Aug 2018
Location: Texas
Posts: 109
|
I am adding a custom feat for ranged weapons, specifically shortbows, longbows and the various crossbows. I have copied the Blade Mastery feat as a base. I want to give shortbows, longbows and the various crossbows a +1 to hit. Blade Mastery has this eval script
~ If we're disabled, do nothing & doneif (tagis[Helper.Disable] = 1) foreach pick in hero from BaseWep where "wGroup.Sword" eachpick.field[wAttMeele].value += 1 nexteach I found the wGroup for Crossbows. The added eval script works foreach pick in hero from BaseWep where "wGroup.Crossbow" eachpick.field[wAttRanged].value += 1 nexteach What I need help with is a wGroup for short and Longbows. All I have been able to find is a wCategory.RangeProj. However, that would include blowgun and sling. Is there a wGroup for Bows? |
#1 |
Senior Member
Join Date: Aug 2018
Location: Texas
Posts: 109
|
I couldn't find a specific wGroup for bows so I ended up using wCategory.RangeProj.
|
#2 |
Senior Member
Join Date: Sep 2017
Posts: 602
|
Yeah without a specific wGroup (you're right, there isn't one for the weapons in question), it gets more complicated. There are more weapons in wCategory.RangeProj so if you want yours to be more specific to bows, you could use "thingid.wShortbow | thingid.wLongBow" etc. with the thingids for each specific weapon type. The "|" essentially means "or" so you should be able to put them all into the same foreach.
Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#3 |
Senior Member
Join Date: Aug 2018
Location: Texas
Posts: 109
|
Oh, thanks Fenris447. That's good to know.
|
#4 |
|
|