r/FantasyGrounds 8d ago

Question

Post image

Is it possible to adjust Global Effects so that they only affect Friendly or Foe?

7 Upvotes

3 comments sorted by

8

u/Sad_Vegetable_736 8d ago

https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996642031/5E+Effects+for+Advanced+Automation

That is the place for all the coding you can do to effects and whatnot. And it is always updating. In short, if you look for the section called "Conditional Tags" you will find ways to only target for certain things. What you are looking for in this instance is to target for Foe.

So, I think it would look something like "IF: FACTION (foe); Shield of Bastion; AC: 1" to only apply it to foes.

Hope this helps.

1

u/Objective_Union3180 8d ago

Thank you so much!

3

u/CrypticCryptid 8d ago

I believe you can grab that effect and drag it onto whatever creatures you want on the combat tracker whether they are player characters or enemies or NPCs

So you can pick and choose