Thread: 5E - Aura Effects Coding
-
February 2nd, 2023, 16:20 #121
- Join Date
- Jul 2018
- Posts
- 35
Thanks again for your help. Tried the second line you posted, still only damages the kruthik itself. The map is set to squares.
For testing i even switched the faction on both tokens (kruthik to green, test char to red). Tested it for the test charakter, Still the same result.
Probably doesn't work in 4e
-
February 2nd, 2023, 17:25 #122bmos' extensions
he/them
-
February 2nd, 2023, 17:44 #123
- Join Date
- Jul 2018
- Posts
- 35
After resetting the faction/color now it affect both (with either "enemy" or "foe"
-
February 2nd, 2023, 18:01 #124
Depends on who it should work vs right?
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;
If you want it to work on yellow and blue factions along with green faction you would do !ally if applying it to a foe/red faction
So really just depends.
I'm not understanding this, is it working?
-
February 2nd, 2023, 18:11 #125
- Join Date
- Jul 2018
- Posts
- 35
Not working, but progress in the right direction because it is the first time it inflicted damage on the player.
The Aura should inflict damage to the enemies of the npc/monster (which it does right now) but not to itself or its allys (thats not working, it damages itself).
-
February 21st, 2023, 04:23 #126
- Join Date
- May 2018
- Posts
- 1
I've tried all the earlier suggestions for coding Crusader's Mantle. The current code being attempted is the following:
AURA: 30 all; Crusader's Mantle; IF: FACTION(!foe); DMG: 1d4 radiant, melee, ranged; (C)
The effect will apply to a character but as soon as the token moves we get the following error:
[ERROR] Handler error: [string "FG-Aura-Effect:..ts/manager_effect_aura.lua"]:64 getPath: Invalid parameter 1
Any suggestions?
-
February 21st, 2023, 05:37 #127
-
February 21st, 2023, 11:50 #128bmos' extensions
he/them
-
March 7th, 2023, 21:08 #129
Entering an Aura
I saw it earlier in the thread, however, I did not see a solution. For Spirit Guardians when placing the aura effect the following code works perfectly for a creature starting their turn in the aura. However with the caster (or creature) moving around causing a creature to enter the aura it will not do the automatic save / dmg rolls. Has anyone figured out how to do that? I am in no way shape or form a coder, and barely understand how the coding works. I am also using BCE. If someone has figured it out, please let me know.
Code:AURA: 15 foe; Spirit Guardians; IF: FACTION(foe); SAVES: WIS [SDC] (H); SAVEDMG: 3d8 radiant; (C)
If you want it done
I can do it
If I can't do it
I will get it done
If I can't get it done
You don't need it done
-
March 8th, 2023, 03:10 #130
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks