Is there a tag I can use to distinguish favored enemies or favored terrains a character has. This is so I can add a bonus to them when an ability is activated.
So far I have the following:
But this gets both favored enemies and terrain. I just want the bonus to be added to one of them.
If there isn't such a distinguishing tag, could one be added? It would make things much easier to code when dealing with favored enemies/terrains.
Thanks!
So far I have the following:
Code:
foreach pick in hero from Ability where "FavTaken.?"
eachpick.field[abValue].value += 1
nexteach
But this gets both favored enemies and terrain. I just want the bonus to be added to one of them.
If there isn't such a distinguishing tag, could one be added? It would make things much easier to code when dealing with favored enemies/terrains.
Thanks!