Junior Member
Join Date: Jul 2020
Posts: 7
|
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.
|
#1 |
Senior Member
Join Date: May 2015
Posts: 830
|
Take a look at Exotic Weapon Proficiency, the mythic version of that feat does what I think you are trying to do.
|
#2 |
Junior Member
Join Date: Jul 2020
Posts: 7
|
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
|
#3 |
Senior Member
Join Date: May 2015
Posts: 830
|
Taking a look at the feat I pointed to:
Code:
foreach thing in BaseWep where "wProfReq.Exotic & (" & tagids[wFtrGroup.?,"|"] & ")" perform eachthing.pulltags[WepProf.?] nexteach Code:
foreach pick in hero where "IsWeapon." & id perform eachpick.assign[Broadcast.WepProf] perform eachpick.assign[Helper.ExoticProf] perform eachpick.pushtags[Broadcast.?] nexteach |
#4 |
Junior Member
Join Date: Jul 2020
Posts: 7
|
Quote:
|
|
#5 |
Junior Member
Join Date: Jul 2020
Posts: 7
|
any idea how i would use [fShowWhat.WeaponsGrp] to pull selections instead of having to use individual feats for each weapon group?
|
#6 |
Junior Member
Join Date: Jul 2020
Posts: 7
|
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.?] |
#7 |
|
|