• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Custom Feat

spannclann

Well-known member
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?
 
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.
 
Back
Top