Basically the title. I noticed today that Explosions can have impact data, which in turn can have hazards, which in turn have spells. Basically I'm wondering if I made a simple OnEffectStart RegisterForSingleUpdate spell and had a hazard cast it from an explosion's impact data would it apply to everyone in the explosion's radius?
Couldn't you just use an enchantment on the explosion instead? Or, if that doesn't work, you could create an activator that then places a hazard with a script, then cleans it up and deletes itself when it's done if you want a longer lasting area