| 03-21-2007, 09:57 PM | #1 |
Hi all, I need an ability with the following features: - Passive; - Invisible (I can hide it inside a disabled spellbook) - Leaves a buff on the target; - Lasts X seconds; An aura would be perfect except that it doesn't last X seconds and I can't use an aura with a timer that removes it after a while Any idea?Thanks! |
| 03-21-2007, 10:11 PM | #2 |
You could cast a spell based on acidbomb on the the target with a trigger using some sort of attack detect engine. |
| 03-21-2007, 10:39 PM | #3 | |
Quote:
|
| 03-22-2007, 03:54 AM | #4 |
You could base the ability off of "Slow Aura (Tornad)" which automatically doesn't show up on a unit's command card, and then use a loop like this that executes when the specific unit enters the map/casts a spell: JASS:function Some_Aura_Loop takes nothing returns nothing local unit u = GetTriggerUnit() loop exitwhen GetWidgetLife(U) < 0.406 call UnitAddAbility(U, YOUR_ABILITY) //If you need to set the ability, do so call PolledWait(5.00) call UnitRemoveAbility(U, YOUR_ABILITY) call PolledWait(5.00) endloop set U = null Or, you could use an "every X seconds of time" event, and pick units within range of specific units (however you get them) and then cause a dummy unit to cast a spell such as cripple or some other spell that leaves a buff for X seconds. Maybe I misunderstood you. |
| 03-22-2007, 05:01 AM | #5 |
Slow poison. |
| 03-22-2007, 02:02 PM | #6 |
If you're looking for something that leaves a buff on attack then slow poison will serve you. If you're looking for a buff on a certain unit due to some other occurance, just use some random spell with a buff and have it cast on it (Inner Fire/Cripple/Curse/Rejuvination... long list). |
| 03-22-2007, 04:11 PM | #7 |
Now as now I'm using an aura (endurance aura within a disabled spellbook) and an aura would be perfect but it doesn't last X seconds. I would prefer not using a dummy caster or a timer removing the ability. It is quite difficult to find such a thing, I think I will use Acid Bomb... |
| 03-22-2007, 04:22 PM | #8 |
... How do you expect to apply a buff without a dummy caster or an aura (and auras don't go away unless you remove them ofcourse)? |
| 03-22-2007, 07:54 PM | #9 |
I concur with blu_da_noob. Getting all four of those features with an ability is going to require a timer or dummy caster, period. Keep in mind that taking shortcuts or trying to oversimplify can end up costing more time and effort than just doing the normal thing. |
