• 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

Help with custom feat

McPir8

Member
how would i go about making exotic weapon proficiency give proficiency to all weapons of a fighter weapon group instead of just a single weapon? just changing the "select from..." selection is obviously not enough, but im way too stupid to understand the language used to make things happen in the eval scripts which is where i have a feeling that i need to go.
 
Take a look at Exotic Weapon Proficiency, the mythic version of that feat does what I think you are trying to do.
 
Take a look at Exotic Weapon Proficiency, the mythic version of that feat does what I think you are trying to do.

from what i could find mythic exotic weapon proficiency does not do anything like that, im looking for the same thing that the world is square rules does to weapon focus, just with proficiency instead
 
Taking a look at the feat I pointed to:
Code:
        foreach thing in BaseWep where "wProfReq.Exotic & (" & tagids[wFtrGroup.?,"|"] & ")"
          perform eachthing.pulltags[WepProf.?]
          nexteach

and then:
Code:
        foreach pick in hero where "IsWeapon." & id
          perform eachpick.assign[Broadcast.WepProf]
          perform eachpick.assign[Helper.ExoticProf]
          perform eachpick.pushtags[Broadcast.?]
          nexteach

Tweak that first look and add the contents of the second (WepProf) and that should achieve your goal
 
Taking a look at the feat I pointed to:
Code:
        foreach thing in BaseWep where "wProfReq.Exotic & (" & tagids[wFtrGroup.?,"|"] & ")"
          perform eachthing.pulltags[WepProf.?]
          nexteach

and then:
Code:
        foreach pick in hero where "IsWeapon." & id
          perform eachpick.assign[Broadcast.WepProf]
          perform eachpick.assign[Helper.ExoticProf]
          perform eachpick.pushtags[Broadcast.?]
          nexteach

Tweak that first look and add the contents of the second (WepProf) and that should achieve your goal

this doesnt even exist in my editor, thanks ill see if i can make it work
 
any idea how i would use [fShowWhat.WeaponsGrp] to pull selections instead of having to use individual feats for each weapon group?
 
i think i solved it accidentially by copying the world is square weapon focus and just changing tags given.

Code:
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

~if we haven't chosen anything yet, just get out now
doneif (field[usrChosen1].ischosen + tagis[Target.?] = 0)

~get the wFtrGroup tag from our choice or Target tag
if (tagis[Target.?] <> 0) then
	perform this.pulltags[Target.?,wFtrGroup]
else
	perform field[usrChosen1].chosen.pulltags[wFtrGroup.?]
endif

~if we didn't find a wFtrGroup tag, there's nothing more we can do
doneif (tagis[wFtrGroup.?] = 0)

~ Get the list of weapons in the group.
var searchexp as string
searchexp = tagids[wFtrGroup.?,"|"]

~ Tag the hero has having Weapon Proficiency for each weapon
~ in order to satisfy pre-requisites for feats that
~ require Weapon Proficiency with a specific weapon.
~ First we pull the WepProf tags from the weapons in the group ...
foreach thing in BaseWep where tagids[wFtrGroup.?,"|"]
	perform eachthing.pulltags[WepProf.?]
nexteach

~ Then push them onto the hero.
perform hero.pushtags[WepProf.?]
 
Back
Top