Thread: 5E - Aura Effects
-
January 4th, 2023, 00:47 #981Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
January 4th, 2023, 03:46 #982
I noticed that SR showed you the fix and you fixed it but I wanted to explain it.
Currently if you have an effect on you which "AURA: 20 ally; REGEN: 4" it's detecting you have that effect. Because of the ; REGEN: 4
So in order to stop that, you need the IF: FACTION(notself) else it will run it on yourself.
You wouldn't need this if you had another IF check that limited yourself also, like "IF: CUSTOM(Hexed)" then unless you had Hexed effect on you it wouldn't run it either. Just to give you more info than you likely wanted but maybe others will read it too.
-
January 9th, 2023, 04:37 #983
- Join Date
- Nov 2020
- Posts
- 1
Love the extension, but have a question that hopefully somebody knows the answer to. I have an issue where an aura is removed from those in it when an effect is removed either from them or from the source of the aura. No error messages pop up in the console and if I move the token that is the source of the aura back and forth the effects is reapplied to the other tokens.
-
January 9th, 2023, 12:54 #984bmos' extensions
he/them
-
January 11th, 2023, 17:51 #985* If your AURA effect contains "IF: FACTION(notself)" the FROMAURA effect will not (which helps keep the combat tracker a bit cleaner).
* Rewrote much of the logic for faction handling.
* Faction types friend and foe are now interpreted literally based on the tag in FG.
* Faction types neutral and faction are available for use everywhere.
* Relationship types ally and enemy are now added. Ally means the bearer's faction matches the effect source's faction. Enemy just looks at friend/foe and checks that they're different.
* All factions / relationships can be inverted with ! or ~. AURA: 10 ~ally means anyone whose faction doesn't match the source's. AURA: 10 ~neutral means anyone who isn't neutral.
* It's helpful to understand that the effect source's faction is being compared to the faction of the actor bearing the effect.
***Example***
PCs are normally set to friendly/green. NPC monsters are normally set to foe/red. NPCs non monsters (like a bartender) would be set to neutral/yellow/faction, and completely Unknown Creatures/Things would be set to non-faction/blue.
ALLY = creatures matching same faction as you.
-Example of ALLY as if aura effect is placed on each of these types named to the left and who would get the "FROMAURA" is the second part of the list.
In this case;
PCs (friendly/green) would be allies "ALLY" to ONLY PCs (friendly/green);
NPC monsters (foe/red) would be allies "ALLY" to ONLY NPC monsters (foe/red);
NPCs non monsters (neutral/yellow/faction) would be allies "ALLY" to ONLY NPCs non monsters (neutral/yellow/faction);
Unknown Creatures/Things (non-faction/blue) would be allies "ALLY" to ONLY Unknown Creatures/Things (non-faction/blue);
ENEMY = creatures opposing faction (friend vs foe only)
-Example of ENEMY as if aura effect is placed on each of these types named to the left and who would get the "FROMAURA" is the second part of the list.
In this case;
PCs (friendly/green) would be the only enemies "ENEMY" to NPC monsters (foe/red);
NPC monsters (foe/red) would be the only enemies "ENEMY" to PCs (friendly/green);
NPCs non monsters (neutral/yellow/faction) would have NONE matching;
Unknown Creatures/Things (non-faction/blue) would have NONE matching;
!ALLY = creatures not matching your faction (AKA old AURA system = foe)
-Example of !ALLY as if aura effect is placed on each of these types named to the left and who would get the "FROMAURA" is the second part of the list.
In this case;
PCs (friendly/green) would be not-allies "!ALLY" to everyone EXCEPT PCs (friendly/green);
NPC monsters (foe/red) would be not-allies "!ALLY" to everyone EXCEPT NPC monsters (foe/red);
NPCs non monsters (neutral/yellow/faction) would be not-allies "!ALLY" to everyone EXCEPT NPCs non monsters (neutral/yellow/faction);
Unknown Creatures/Things (non-faction/blue) would be not-allies "!ALLY" to everyone EXCEPT Unknown Creatures/Things (non-faction/blue);
!ENEMY = creatures who are friendly to your faction (foe vs friend only)
-Example of !ENEMY as if aura effect is placed on each of these types named to the left and who would get the "FROMAURA" is the second part of the list.
In this case;
PCs (friendly/green) would be not-enemy "!ENEMY" to everyone EXCEPT NPC monsters (foe/red);
NPC monsters (foe/red) would be not-enemy "!ENEMY" to everyone EXCEPT PCs (friendly/green);
NPCs non monsters (neutral/yellow/faction) would be not-enemy "!ENEMY"" to EVERYONE including same faction (neutral/yellow/faction);
Unknown Creatures/Things (non-faction/blue) would be not-enemy "!ENEMY" to EVERYONE including same faction (non-faction/blue);Last edited by MrDDT; January 11th, 2023 at 18:06.
-
January 11th, 2023, 20:01 #986
Any time frame on when Auras will be getting a fix for the FROMAURA appearing and disappearing when moving around in an aura? Gave an example in DM to you a while back.
Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
January 11th, 2023, 21:19 #987bmos' extensions
he/them
-
January 17th, 2023, 18:23 #988
I started working on re-implementing the triggering and processing of auras. Here is an early (generally working) build of v2 for those who are curious.
If you install this by putting it into your extensions folder, it will override the live Forge version. If you do that, be sure you remove it when you're done testing to begin using the live Forge version again.
The primary changes:
Breaking up the code into smaller functions and a variety of lua scripts to facilitate easier maintenance, repair, and collaboration.
Moving toward parsing the appropriate auras by scanning tokens on the map rather than all combat tracker entries. This should be useful for people with massive combat trackers or with extensions that leave a ton of hidden entries in the combat tracker.
Notable things from v1 that are not included:
Deferring processing until after token movement is complete.
Limiting movement to whole squares.
Things that are working much better than V1:
Triggering aura removal/addition. For This might also fix the issue SR was talking about?
Feedback I am most interested in:
Speed. Is this faster or slower, especially when used on large/complex campaigns?
Behavior. Do the effects work the way you'd expect? Are effects added/removed appropriately?
Feedback I pretty much don't want to hear yet:
Extension compatibility. If you're testing this, please don't load anything else. Before I start looking into that stuff I need to make sure this all works right with the base rulesets most FG DMs are running on.
As with all testing, if you are going to test this on a real campaign, BACK IT UP FIRST.Last edited by bmos; January 17th, 2023 at 18:35.
bmos' extensions
he/them
-
January 18th, 2023, 00:10 #989
Thanks Bmos for all your hard work, I will try testing it out. FINGERS CROSSED!
-
January 18th, 2023, 03:41 #990
Aura Effect v2 Speed Testing
Starting to do some performance testing.
More later this week hopefully.Last edited by bmos; January 18th, 2023 at 04:22.
bmos' extensions
he/them
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks