Quote:
Originally Posted by DeltaMasterMind
Would someone please write up that code and post it here? I am not sure how to use the foreach in that way specifically. Thanks for the suggestion otherwise Aaron.
|
I would actually just count the Ability tags to know how many times the feat was taken.
Like this:
Code:
~ Improve our maneuverability based on how many copies of this feat we have.
field[abValue].value += hero.tagcount[Ability.XXXXXXXX]
if (field[abValue].value = 1) then
perform hero.childfound[xFly].tagreplace[Maneuver.Clumsy,Maneuver.Poor]
elseif (field[abValue].value = 2) then
perform hero.childfound[xFly].tagreplace[Maneuver.Poor,Maneuver.Average]
elseif (field[abValue].value = 3) then
perform hero.childfound[xFly].tagreplace[Maneuver.Average,Maneuver.Good]
elseif (field[abValue].value >= 4) then
perform hero.childfound[xFly].tagreplace[Maneuver.Good,Maneuver.Perfect]
endif
Just replace XXXXXXXX with the Unique ID of your Feat.