View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old August 17th, 2022, 03: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 03:53 AM.
Sendric is offline   #1121 Reply With Quote