Thread: 5E - Aura Effects
-
December 23rd, 2022, 21:50 #931
SilentRuin and I identified the new incompatibility with Token Height (not automatically updating the aura when height is changed until you move the token) and a fix for it. Token Height has a new version on the Forge with the fix, though needs to have a new version of Aura Effects pushed as well (to make notifyTokenMove global).
-
December 23rd, 2022, 22:12 #932Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
December 24th, 2022, 02:21 #933
Thanks for that.
Aura Effect v1.21
* Restructured a bunch of code
* Added trigger for when adding creatures to the map during a battle. Resolved issue #17.
* Found an issue with Faction checks which is now fixed. In some cases, the wrong actor was being checked resulting in auras being added/removed incorrectly.
* Limited processing to actors that have tokens on the same map
* Add !self and ~self as an alternative to notself for logical consistency. self, however, is not supported.
* Allow use of decimal places in aura range
Click here to see raw code changes
Can you re-test this with the latest update and let me know if it's still happening?Last edited by bmos; December 24th, 2022 at 13:26.
-
December 24th, 2022, 02:28 #934
And Token Height and Aura Effects are back to working together seamlessly!
-
December 24th, 2022, 03:14 #935
Last edited by SilentRuin; December 24th, 2022 at 16:35.
Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
December 24th, 2022, 16:36 #936
Turns out it was the new foe logic that did me in. I had a bunch of
AURA: 15 foe
in my effects which really now need to be
AURA: 15 !allyFree(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
December 24th, 2022, 16:38 #937
In case it helps anyone else struggling with replacing auras in their modules after the recent change, here is a regex replacement that should make old effects work a lot better.
If run on a file last used before v1.20:
It will make auras that previously targeted actors whose faction matches the source again do the same.
It will make auras that previously targeted actors whose faction does not match the source again do the same.
Likely some auras will still need further adjustment and they can be optimized and shortened much better now if rewritten, but it might help someone.
Obviously make sure you have a backup before doing text replacement on any files!
Notepad++
AURA ([0-9.]+) friend; -> AURA \1 ally;
AURA ([0-9.]+) foe; -> AURA \1 !ally;
Standard
AURA ([0-9.]+) friend; -> AURA $& ally;
AURA ([0-9.]+) foe; -> AURA $& !ally;Last edited by bmos; December 24th, 2022 at 16:53.
-
December 24th, 2022, 17:23 #938
With everything happening with the new version, should I just wait until it settles down, or I am good to retest?
-
December 24th, 2022, 18:21 #939Templar
- Join Date
- Apr 2020
- Posts
- 136
I'm not clear on the difference between friend and ally. If there are 4 factions (green/PC, red/ hostile, yellow/neutral, and white/"faction"), and I'm green, is there anyone who is friend but not ally, or vice versa? If I'm red, does that change?
-
December 24th, 2022, 19:34 #940
If you want it to be exactly like before just change anything that was set to foe to !ally, and anything set to friend to be ally
The same faction types as above are available, along with "notself":
all - does not block processing on any actor
friend - continues if the effect bearer's faction is "friend"
foe - continues if the effect bearer's faction is "foe"
neutral - continues if the effect bearer's faction is "neutral"
faction - continues if the effect bearer's faction is blank
ally - continues if the effect bearer's faction matches the effect source's faction
enemy - continues if the effect bearer's faction is "foe" and the effect source's faction is "friend" (or vice versa)
notself - continues if the effect bearer does not match the effect source's
Also note that if you want everyone other than your enemy, you would do !enemy now, which is useful for some stuff too.
This would include all factions other than the opposing faction from you. So if you were marked as foe, then only green would NOT be included in this.
Let me know if that helps.Last edited by MrDDT; December 24th, 2022 at 19:39.
-MrDDT
Discord @mrddt
Grim Press Discord (Publishing/Extensions/Modules)
Bethica Discord (West Marches RPG)
PLEASE VOTE FOR THESE FEATURES VERY IMPORTANT!!!
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (1 members and 1 guests)

Reply With Quote


Bookmarks