Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Custom Feat (http://forums.wolflair.com/showthread.php?t=68287)

spannclann March 20th, 2024 11:03 PM

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?

spannclann March 23rd, 2024 10:16 AM

I couldn't find a specific wGroup for bows so I ended up using wCategory.RangeProj.

Fenris447 March 23rd, 2024 06:47 PM

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.

spannclann March 24th, 2024 08:38 AM

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.