I'm trying to make Weapon Focus use Fighter Groups instead of individual weapons and I feel like I'm very close, but I can't seem to get the bonus to apply.  I started by taking apart the Eval script on Weapon Focus to understand how it did what it did.  I change the drop-down selection to use Weapon Groups instead of All Weapons.  But I can't seem to properly scope the condition to apply the Broaddcast.WepFocus tag to the weapons.  The name is properly updating to "Weapon Focus (heavy blades)" so I know part of the script is working.  But the weapons in heavy blades group don't have the Broadcast.WepFocus tag and don't have a +1 att, so I know the condition is not working.  My latest attempt:
	
	
	
		
				
			
		Code:
	
	      ~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)
      ~ If we haven't chosen anything, get out now
      doneif (field[usrChosen1].ischosen = 0)
      ~ If we are a bonus feat which ignores pre-reqs, we don't want our weapons
      ~ to complain when they don't find those pre-reqs we skipped.
      if (tagis[thing.skipprereq] <> 0) then
        perform assign[Broadcast.NoPWepFocu]
        endif
      ~ Assign the appropriate tag to all weapons that meet the criteria
      var id as string
      var name as string
      call fTargetId
      foreach pick in hero from BaseWep where "wFtrGroup." & field[usrChosen1].chosen.idstring
        perform eachpick.assign[Broadcast.WepFocus]
        perform eachpick.pushtags[Broadcast.?]
        perform eachpick.pulltags[WepFocus.?]
        nexteach
      perform hero.pushtags[WepFocus.?]
      foreach thing in BaseWep where "wFtrGroup." & id
        perform eachthing.pulltags[wProfReq.?]
        nexteach
      ~ Set our 'short name'
      field[shortname].text = "Focus: " & name
      field[sbName].text = "Weapon Focus (" & lowercase(name) & ")"
      ~ If the selected weapon is a natural weapon, then apply the Hero.NatWpFocus
      ~ tag to the hero. We do this here so that the hero doesn't actually have
      ~ to have such a weapon on their character in order to get the tag and
      ~ qualify for pre-reqs based on it. For example, a Druid/Monk may want
      ~ to take Weapon Focus (Claw) in order to take Feral Combat Training, but
      ~ may not actually have claws most of the time (only when wild shaped).
      if (field[usrChosen1].chosen.tagis[wFtrGroup.Natural] <> 0) then
        perform hero.assign[Hero.NatWpFocus]
        endif
      ~ Choosing Grapple gives us a bonus on those checks
      if (field[usrChosen1].chosen.tagis[thingid.wGrapple] <> 0) then
        ~ Add a +1 bonus to the Grapple CMB
        hero.child[manGrapple].field[cmbBonus].value += 1
        endif
      ~ This is chiefly for the Low Templar PrC's pre-req (which requires weapon
      ~ focus in any martial weapon), but also checking Simple and Exotic as
      ~ well in case those are needed in the future.
      if (tagis[wProfReq.Simple] <> 0) then
        perform hero.assign[Hero.SimWpFocus]
        endif
      if (tagis[wProfReq.Martial] <> 0) then
        perform hero.assign[Hero.MrtWpFocus]
        endif
      if (tagis[wProfReq.Exotic] <> 0) then
        perform hero.assign[Hero.ExoWpFocus]
        endif