Quote:
Originally Posted by Sendric
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