FG-Unofficial-Developers-Guild / FG-Aura-Effect

This extension accommodates auras and AoE buffs/debuffs by adding/removing effects to other characters based on proximity.
https://www.fantasygrounds.com/forums/showthread.php?57417-5E-Aura-Effects
Other
13 stars 2 forks source link

Additional filtering of AURA targets #35

Open bmos opened 10 months ago

bmos commented 10 months ago

At the moment, auras can only be filtered by faction. With a new syntax, it could be possible to also allow other filters like ALIGN in rulesets that support them. Going further, some additional filtering would be possible such as Kelrugem's IFTAG, although the syntax would likely get more complicated.

bmos commented 5 months ago

Something like AURA: 5 good

rhagelstrom commented 5 months ago

Since neutral is already defined as a faction, do we just want good/evil?

rhagelstrom commented 5 months ago

At the moment, auras can only be filtered by faction. With a new syntax, it could be possible to also allow other filters like ALIGN in rulesets that support them. Going further, some additional filtering would be possible such as Kelrugem's IFTAG, although the syntax would likely get more complicated.

Seems like something like supporting an extension to do this should more be like have some sort of API to register custom descriptors and then if they want to filter, they can override isAuraApplicatble. I think this same situation comes into play for the stuff Mattkure is doing with Aura Visualized and maybe SR. Force the responsibility back on the author doing extra stuff, so it doesn't become just more maintance here. Aura doesn't really care one way or another if that extra stuff is in or not, so it just seems more natural to have that functionality in whatever ext, but allow them to put in the hooks they need.

bmos commented 5 months ago

Maybe AURA: 5 align:good or something. I'd hate to not support neutral alignments because there are def Pathfinder magic effects where those would be useful. This is another one that has a lot of "what ifs" and design decisions that need to be made and without more clamoring for this I'd lean more toward leaving it to the latter clauses of the effect (such as AURA: 5; IF: ALIGN(good); DMG: 5)