Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,060

Old August 17th, 2022, 04:36 AM
Quote:
Originally Posted by Illyahr View Post
Hey Sendric, can you look at the Discipline Weapon Focus ability for the Swordsage (Tome of Battle)? I got it to apply Broadcast.WepFocus to each of the discipline weapons but when I tried to assign WepFocus.eachweapon to the hero it kept giving an invalid tag error
WepFocus.eachweapon is an invalid tag. I think there's an easier way to handle this. First, change all the thingid.w? tags on the general abilities to WepFocus.w? then apply the following changes to the script on class special starting with the doneif line:

Code:
doneif (field[usrChosen1].ischosen = 0)

perform field[usrChosen1].chosen.pulltags[WepFocus.?]
perform hero.pushtags[WepFocus.?]

var weapons as string

weapons = tagids[WepFocus.?, "|"]

foreach pick in hero where weapons
  perform eachpick.assign[Broadcast.WepFocus]
nexteach

Last edited by Sendric; August 17th, 2022 at 04:53 AM.
Sendric is offline   #1121 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 356

Old August 22nd, 2022, 09:08 AM
Quote:
Originally Posted by Sendric View Post
WepFocus.eachweapon is an invalid tag. I think there's an easier way to handle this. First, change all the thingid.w? tags on the general abilities to WepFocus.w? then apply the following changes to the script on class special starting with the doneif line:
That doesn't work as WepFocus hasn't been assigned yet. The chooser picks the discipline and is supposed to assign Broadcast.WepFocus tag to each of the discipline weapons. I have that working without issue.

the problem is this line

Code:
perform field[usrChosen1].chosen.pulltags[thingid.w?]
id = tagids[thingid.w?, "|"]
focus = replace(id,"thingid","WepFocus",0)
perform hero.assignstr[focus]
I need to assign the WepFocus.? tag to the hero for each of the weapons to meet prerequisites for feats and classes. For example: the feat quickstaff requires the hero be tagged with WepFocus.wQtrstaff. If the chooser is Setting Sun, which has quarterstaff as a discipline weapon, it needs to tell that to the hero

I have a Patreon and PayPal. Donations are appreciated but are not mandatory. They are only to show support while I program stuff.
Illyahr is offline   #1122 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,060

Old August 22nd, 2022, 01:07 PM
Quote:
Originally Posted by Illyahr View Post
That doesn't work as WepFocus hasn't been assigned yet. The chooser picks the discipline and is supposed to assign Broadcast.WepFocus tag to each of the discipline weapons. I have that working without issue.

the problem is this line

Code:
perform field[usrChosen1].chosen.pulltags[thingid.w?]
id = tagids[thingid.w?, "|"]
focus = replace(id,"thingid","WepFocus",0)
perform hero.assignstr[focus]
I need to assign the WepFocus.? tag to the hero for each of the weapons to meet prerequisites for feats and classes. For example: the feat quickstaff requires the hero be tagged with WepFocus.wQtrstaff. If the chooser is Setting Sun, which has quarterstaff as a discipline weapon, it needs to tell that to the hero
I tested the changes I recommended before I posted it and it does work. The tags appear on the hero. It does look like the script is running later than Weapon Focus so push the script back to Pre-Levels/5000. I've tested this with the example you give above and it works.

Edit: Changing the timing messed up the candidate expression. I don't know why the script needs to adjust that so I made some changes to remove that part of the script. I also added some text to the description so users can at least see what weapons they'll be getting weapon focus for. See attached.
Attached Files
File Type: zip 3.5 - Tome of Battle.zip (118.4 KB, 1 views)

Last edited by Sendric; August 23rd, 2022 at 06:03 AM.
Sendric is offline   #1123 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 356

Old August 23rd, 2022, 08:47 AM
Quote:
Originally Posted by Sendric View Post
I tested the changes I recommended before I posted it and it does work. The tags appear on the hero. It does look like the script is running later than Weapon Focus so push the script back to Pre-Levels/5000. I've tested this with the example you give above and it works.

Edit: Changing the timing messed up the candidate expression. I don't know why the script needs to adjust that so I made some changes to remove that part of the script. I also added some text to the description so users can at least see what weapons they'll be getting weapon focus for. See attached.
I see where the disconnect is. I have the weapons tagged in the discipline things as thingid.weapon and you have them tagged as WepFocus.weapon.

I have the candidate expression the way it is due to feats from Path of War that will allow you to swap out disciplines for different ones. In that instance, the Swordsage would need to find the thing for that discipline instead of the one forgotten.

I'll do some working and see what I can do.

I have a Patreon and PayPal. Donations are appreciated but are not mandatory. They are only to show support while I program stuff.
Illyahr is offline   #1124 Reply With Quote
Shaman964
Member
 
Join Date: May 2015
Posts: 34

Old September 19th, 2022, 08:46 PM
The synergy description for the Search Skill has changed. It no longer reads that you get a synergy to Survival checks to find or follow tracks.

Now it reads that you get a +2 bonus to find secret or hidden doors. I have no idea where that appeared from. Though you did get that bonus from Knowledge: Architecture & Engineering which remains unchanged.
Shaman964 is offline   #1125 Reply With Quote
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 994

Old September 20th, 2022, 12:38 AM
Quote:
Originally Posted by Shaman964 View Post
The synergy description for the Search Skill has changed. It no longer reads that you get a synergy to Survival checks to find or follow tracks.

Now it reads that you get a +2 bonus to find secret or hidden doors. I have no idea where that appeared from. Though you did get that bonus from Knowledge: Architecture & Engineering which remains unchanged.
I see that too. Maybe its been abbreviated, but without realising it they cut out the middle of the text. This should be a LW error, not a community change.

Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew).
HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP).

DM and player of D&D since 1980.
Dami is offline   #1126 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,060

Old September 20th, 2022, 03:42 AM
Quote:
Originally Posted by Shaman964 View Post
The synergy description for the Search Skill has changed. It no longer reads that you get a synergy to Survival checks to find or follow tracks.

Now it reads that you get a +2 bonus to find secret or hidden doors. I have no idea where that appeared from. Though you did get that bonus from Knowledge: Architecture & Engineering which remains unchanged.
Curious. There isn't anything in the community set to change that as far as I can tell. Not sure why it would have been changed in the first place, even by LW. That said, it can be easily fixed in the editor by creating a new Search skill to replace the old with a new description.
Sendric is offline   #1127 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 09:06 PM.


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