| 05-15-2007, 06:37 PM | #1 |
Hello, i need help with a trigger i want to make. What these trigger should do: If a unit hasn't the aura from a hero, the unit can be killed by a spell of a other hero. The aura from the hero is like a protection for the units arround him. Units who have this aura are protected and can't be killed by the spell. I hope someone can help me. ~Algencola |
| 05-15-2007, 06:42 PM | #2 |
Yeah, try this Trigger: If you don't want to kill the unit outright, you could deal damage to it via triggers. You might also experience problems with that particular event, but you can replace that with "Begins Casting an Ability" to make it work better, although that has some other problems associated with it. |
| 05-15-2007, 06:42 PM | #3 |
Check all units on map (this may be a bit more specified) every 3 seconds (maybe less) for a buff given by some dummy aura you give to your hero (for example endurance aura with 0% boosts) and if they have it, give spell immunity ability to them. If they don't have that buff, remove the ability from them |
| 05-15-2007, 06:49 PM | #4 |
Yeah, not sure if he wants a general spell immunity since he is talking about "the spell", but it would make more sense. |
| 05-15-2007, 06:55 PM | #5 | |
Quote:
I think this explains his problem, he is talking about "a spell" |
| 05-16-2007, 02:22 PM | #6 |
Thanks for your answers! MercyfulJester's Trigger works very well. Good idea ~Algencola |
