View Single Post
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old August 22nd, 2022, 08: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