i need a spell called "ray of light" it soppose to cast "Holy light"on any nearby undead units(not just enemies if possible) i do not care abuot the other things of the spell. the spell should be like starfall just with holy light. i tried to do this but it did not worked. and there was another problem. the casting unit still had these runes of the moon ubove his head.
You want it channeling? If so, you will need three triggers. One which enables when the unit starts the ability and one which ends when the unit stops the ability. There will be a third trigger which just casts holy light on all the units around the caster. It will be initially deactivated. The first trigger activates it. The second trigger deactivates it back. The third trigger is a repetitive...
for the third tirgger (repetitive), pick all nearby units, match them, is it enemy? is it organic? is it undead? If yes, create dummy unit on each picked unit, order that dummy to cast holy light on each picked unit.
use loop here, and do it each second for 30 second let says.