• 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

Making a combat style

frumple

Well-known member
I am trying to code up a combat style with the following feats Exotic Weapon Proficiency (Net), Weapon Focus (Net) and Weapon Focus (Trident). How can I get the Target tags for feats selected by Bonus Feats Allowed? Additionally how can include the two specific Weapon Focus feats?
 
When creating the list of bonus feats allowed, you can't be that specific. You can let Weapon Focus or EWP be added as bonus feats, but can't directly mandate they be of certain weapons.

However, when a bonus feat is added through a class, it gets the BonusFeat.cHelpXXX tag for that class (so for ranger that'd be BonusFeat.cHelpRgr). I'm not sure if assigning a target tag through a script works, (I've never tried it) but you could foreach through the feats on your character with the appropriate BonusFeat tag and assign the Target tag that way. Tell me if this works, cause I'd be interested to know.

Alternatively, you could put some eval rules on the combat style that check if the user has EWP, if so is it a bonus feat for ranger, and if so does it select net? That'd throw an error if the user hadn't selected the right thing.

Both of those are somewhat indirect ways of achieving your end.
 
Let me know too if the target thing works as I could use it to revise the Weapon Focus (Mind Blade) for Soulknives in the Psionics Unleashed files...
 
It kind of works....

I have the following code on the style

Code:
foreach pick in hero from BaseFeat where "SpecSource.cHelpRgr"
  if (compare(eachpick.idstring,"fExoticWep") = 0) then
     perform eachpick.assign[Target.wNet]
  endif
nexteach

However, if I have the timing before when Exotic Weapon Proficiency does its thing First/1000, it doesn't force the weapon selection (in this case wNet). If I have the timing after this, it does force the selection, but doesn't grant the proficiency.

I thought of a way that might work. I could make a specific instance of the needed feats, i.e. Exotic Weapon Proficiency (Net), Weapon Focus (Net), and Weapon Focus (Trident). However, is there a way to make sure these are not shown on the general feat selection list and just the combat style list?
 
Back
Top