View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old August 30th, 2017, 05:46 PM
This seems like something bush leagues that I should have picked up on already, but I'm having difficulties. I have a bootstrapped thing, an fPlusSk1 that might have one or more SkillBonus tags where I want to add 1 to those skills as an innate bonus.



I want to go through each of the SkillBonus tags, and run "perform hero.child[eachpick.idstring].field[trtBG].modify[+,1,"Background"]" on it. It feels like it should be something like:
Quote:
foreach pick in hero where "SkillBonus.?"
perform hero.child[eachpick.idstring].field[trtBG].modify[+,1,"Background"]
nexteach
But, of course, that runs down the tags attached to the Hero. How do I make it instead attach to the current thing (an fPlusSk1) and look through the tags attached to that?
Attached Images
File Type: png TagsOnBootstrap.png (232.7 KB, 36 views)
Duggan is offline   #1 Reply With Quote