| 08-07-2004, 05:28 AM | #1 |
I'm using an altered form of tranquility for one of my custom abilities. I'm setting both the duration and the interval so .1 so it basically does the damage instantly. I set the Life Healed to a negative value. The problem I have is, it doesn't kill other units. If i set it to -100000 and the unit has 400 life, it'll leave him with 1 hp. I've seen other maps where this was used, and they all did exactly what I did, but for some reason it is capable of killing units. What am I doing wrong? |
| 08-07-2004, 05:32 AM | #2 |
they most likely used triggers... just pick every unit in x range and do kill instantly |
| 08-07-2004, 05:42 AM | #3 | |
Quote:
One prob.. then it'd kill everything in the range of the attack, not just the ones down to so much hp. I check the triggers on the other maps, and sorry to say but none of them used a trigger like that, most of them didn't use triggers at all. |
| 08-07-2004, 05:47 AM | #4 |
hmm i dono, go through all the spell again... maybe lower the damage to like 5000 |
| 08-07-2004, 07:50 AM | #5 |
Out of curiousity, is there a specific reason you're not using Starfall instead of Tranquility? |
| 08-07-2004, 02:46 PM | #6 |
why dont you make a trigger that occurs after the spell is cast and is like "if unit has 1 hp kill instantly" that way the only units that are killed are the ones that would have been |
| 08-07-2004, 03:54 PM | #7 |
Like Panto said why dont you use starfall?? It works exactly the same but is meant to kill the units. |
| 08-07-2004, 11:19 PM | #8 |
just give tran graphics if thats wut u want |
| 08-07-2004, 11:38 PM | #9 |
Even if it could kill it won't give bounty, and yes use starfall |
| 08-09-2004, 03:50 AM | #10 |
Starfall would work better, but I think I no the problem. Some abilities have things called stacking flags, or something like that. What this means is, say an ability does damage over time, like slow poison. The damage will always overlap because slow poison has a check next to damage, in other words, damage stacks. There's also another stacking option called Kill Unit, which allows the damage from the ability to kill the unit. Slow poison does not have that checked, but I have experimented with it, and if checked, it will kill the unit. This probably applies for tranquility, but I don't think you can change the stacking flags. Maybe you can, but I'm too lazy to look right now... |
