Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
McPir8
Junior Member
 
Join Date: Jul 2020
Posts: 7

Old July 26th, 2020, 05:00 AM
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.
McPir8 is offline   #1 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 26th, 2020, 05:15 AM
Take a look at Exotic Weapon Proficiency, the mythic version of that feat does what I think you are trying to do.
Minous is offline   #2 Reply With Quote
McPir8
Junior Member
 
Join Date: Jul 2020
Posts: 7

Old July 26th, 2020, 08:15 AM
Quote:
Originally Posted by Minous View Post
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
McPir8 is offline   #3 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old July 26th, 2020, 08:23 AM
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
Minous is offline   #4 Reply With Quote
McPir8
Junior Member
 
Join Date: Jul 2020
Posts: 7

Old July 26th, 2020, 08:29 AM
Quote:
Originally Posted by Minous View Post
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
McPir8 is offline   #5 Reply With Quote
McPir8
Junior Member
 
Join Date: Jul 2020
Posts: 7

Old July 26th, 2020, 08:56 AM
any idea how i would use [fShowWhat.WeaponsGrp] to pull selections instead of having to use individual feats for each weapon group?
McPir8 is offline   #6 Reply With Quote
McPir8
Junior Member
 
Join Date: Jul 2020
Posts: 7

Old July 26th, 2020, 09:53 AM
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.?]
McPir8 is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:45 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.