• 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

Enhancing weapon focus

AndrewD2

Well-known member
I've got a feat that gives an insight bonus for each melee weapon that you have weapon focus in.

so I started here:

Code:
foreach pick in hero from BaseWep where "wFtrGroup.Melee"
  if (CHECK TO SEE IF WE HAVE WEAPON FOCUS WITH WEAPON <> 0) then
    eachpick.field[BonInsight].value += 1
  endif
nexteach

Can't figure out what check I would do for that (or if it could be part of the foreach).

Any ideas?
 
Ah, Broadcast

For anyone interested the final code is:

Code:
foreach pick in hero from BaseWep where "wCategory.Melee & Broadcast.WepFocus"
  eachpick.field[BonInsight].value += 1
nexteach
 
Back
Top