Log in

View Full Version : Question about Effect IF statement



Pendrake
September 13th, 2022, 14:19
D&D 5E ruleset:

I have a Bard with an effect that will target a character and add an effect called "Inspired", and each player I'm adding an effect called "Use Inspiration". I have it set as this:

IF: Inspired; ATK:1d6;SKILL:1d6;SAVE:1d6;CHECK:1d6
1 RND
Targeting: Self
Expend? On next roll

My result: The D6 is always added regardless if "Inspired" effect is on the player. I have tried to change it to "IF: inspired;...." but that had no effect. I changed it to "IF: poisoned;..." and that worked if they had the poison effect on them

Thanks

Trenloe
September 13th, 2022, 14:23
As you're using a custom condition, you'll need to indicate it's custom. Use IF: CUSTOM(Inspired);... then that will match against a custom condition called Inspired

See here for more information: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996642031/5E+Effects+for+Advanced+Automation#Conditional-Operators

Zacchaeus
September 13th, 2022, 14:55
See also video nine here https://www.fantasygrounds.com/forums/showthread.php?74212-Updating-5e-effects-videos&p=654177#post654177