Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Giving Subrace a choice of 1 melee weapon and one range proficiency (http://forums.wolflair.com/showthread.php?t=65969)

jbearwillis May 31st, 2021 05:37 PM

Giving Subrace a choice of 1 melee weapon and one range proficiency
 
I am wanting to give a subrace 1 choice between these Melee weapons
1) Short Swords
2) Rapiers
And
Also 1 choice between these Ranges weapons
1) Crossbows, Heavy
2)Long Bow
How would I go about doing this, I have found how to give a choice from all weapons, but not from a select few.... Where do I start? Any help is most appreciated.:D

dungeonguru June 1st, 2021 05:04 AM

Note: I may have mis-pelled something so double-check the tags on the weapons.

You might want to look at the Weapon Master feats to get some ideas.

The usrCandid1 (or search expression) field for your first choice would look something like:
Component.BaseWep & (thingid.wShortswor | thingid.wRapier)
The usrCandid2 would be like:
Component.BaseWep & (thingid.wCrossbowH | thingid.wLongbow)

Then your script to push the weapon proficiency is running at pre-level/1000:

doneif (tagis[Helper.Disable] = 1)
~ If nothing chosen then get out now!
doneif (field[usrChosen1].ischosen = 0)
doneif (field[usrChosen2].ischosen = 0)

~ Pull all the selected weapon proficiency tags to ourself
perform field[usrChosen1].chosen.pulltags[WepProf.?]
perform field[usrChosen2].chosen.pulltags[WepProf.?]

~ Now push both tags to the hero
perform hero.pushtags[WepProf.?]

jbearwillis June 1st, 2021 07:22 AM

Dungeonguru, Thank you so much... I can work with that...

jbearwillis June 1st, 2021 11:53 AM

I get the drop down boxes to show up but no weapons show up in them, so I have nothing to pick. For the life of me, I can't figure out why they are not showing up...what am I missing here.

jbearwillis June 1st, 2021 02:34 PM

I had to restart like 3 times, but it is working now, so Thanks again...


All times are GMT -8. The time now is 04:32 AM.

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