Don't the glowing ghouls have an effect that can "revive" other ghouls in a certain radius around them?
Maybe have a look at that ...
The glowing ghoul uses a "reanimate" effect (Specifically: GlowingOneReanimate), which does point out that one could use some sort of heal with an area on an NPC, which I did know... Looking within the conditions for effects, there's a setting "IsHostileToActor" which should be of use for determining whether one should be affected by the aura in question... They also have a ModifyValue (Health) for healing (a change from Oblivion which was part of my issue). So...
IsHostileToActor = 0 Should grab non-hostiles (seemingly as close as I'll get), then ModifyValue = Health sets it up. Which is pretty much what I want, I think. Need to test and play with it, but looking along the lines of the ghoul definitely worked, thanks! Now, time to see if I can put it on some sort of timer so that it isn't simply continuous healing (which isn't strictly necessary, simply for my own pleasure/getting to know the CK better).
Edit: Toying with faction checks might work as well, and be a touch more specific as well.
Also take a look at the Tesla Coils for PA Torso. The magic effect used has archetype Cloak. I have experimented with same method to apply elemental damage to enemies that come near you. Sadly, one thing that I couldn't manage, was to increase the area of effect. I believe a condition can be applied for the magic effect, to be active only for npcs that are non hostile to the player.
If you're trying to go damage dealing, wouldn't the damage effect be of more use? You could set the damage type there, and so forth, and I know at least in the magic "effect" portion (not sure how it works once it gets to an enchantment) you can set areas etc. Thrown on IsHostileToActor, whoever wore it would do damage to hostiles in the area (hostile to them, not all hostiles), unless I'm mistaken. Doesn't hit a player only angle (unless you stop NPC's from accessing the armor piece you tie the enchantment to, etc) though.
Edited by JaideW, 05 November 2020 - 09:52 PM.