- Joined
- Nov 1, 2012
- Messages
- 12
I'm currently working on a spell based on forked lightning. Its supposed to spawn a ghoul where the unit that was killed by the spell died. To do this, do I have to make the spell itself do the damage, or create a trigger that does the damage to all the targets of the spell when its cast? Currently, I have the spell apply a buff and I have a separate trigger that when a unit dies, it checks if the triggering unit had this buff, and then if it did, spawns a unit at that location. However, this is not currently working for me. So, two main questions:
1. Should I make the damage via trigger (If so, how to apply it to all the targets of the spell not just the one clicked on) or just on the spell?
2. How would I make a unit killed by this spell's location become where a new unit spawns?
Thanks for any help you can provide!
1. Should I make the damage via trigger (If so, how to apply it to all the targets of the spell not just the one clicked on) or just on the spell?
2. How would I make a unit killed by this spell's location become where a new unit spawns?
Thanks for any help you can provide!