| 07-16-2006, 08:02 AM | #1 |
OK, I created a spell based off of Drain Life and called it Mind Rot (ya, I suck at names). What this does is suck the life, and if killed, the enemy will turn into a ghoul for the caster. Here are my triggers, that for some reason won't work. Trigger: I was also wondering if anyone knew the condition for: If Level of ability being cast is equal to X |
| 07-16-2006, 09:39 AM | #2 |
I think it is because some of the cast event responces don't work when you use "A unit finishes a spell". If possible, use "A unit starts the effect of a spell" instead. The level condition is under integer, it should be easy to find, look again. |
| 07-16-2006, 10:56 AM | #3 |
"Target unit of ability being cast) is dead) Equal to True " If you have to cast it on a living unit, that requirement will never be met. (The target of life drain well uhm... Has to be living) |
| 07-16-2006, 04:13 PM | #4 | |
Quote:
i dont think so, atleast not for "a unit finishes casting a spell" i know for a fact that "ability being cast" works for this event, atleast in my editor. i have never tried on a channeling spell so i don't know how it would work out but seeing as his spell fails i beleive it will start when the channeling begins, and since the unit can't be dead before it takes damage... nothing will happen. I believe this is because the event "a unit finishes casting a spell" is based on the "casting time" and not the "duration" as channeling is based on "duration" and not "casting time". and to you yuripro84 Mind Rot is already taken by the Editor, its a neutral hostile - unit ability Make sure that you have the right ability on ALL accounts also you could name the spell *Dark Hold*, but thats just a suggestion |
| 07-16-2006, 04:17 PM | #5 |
You could add an editor suffix to avoid confusions. |
| 07-16-2006, 05:06 PM | #6 |
GetSpellTarget and GetSpellTargetLoc do not work with the finish event, unless I remember wrong. |
| 07-16-2006, 05:49 PM | #7 |
Either way, in this instance his condition will never return true. So the spell wouldn't get to actions anyways. |
