Custom Feat
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? |
I couldn't find a specific wGroup for bows so I ended up using wCategory.RangeProj.
|
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.
|
Oh, thanks Fenris447. That's good to know.
|
All times are GMT -8. The time now is 12:33 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.