| 06-10-2006, 08:29 AM | #1 |
Is it possible to make a unit immune to stun? |
| 06-10-2006, 08:35 AM | #2 |
Just make a trigger, remove the buff "Stunned", whenever you want. That unstuns them. If you wanted perminantly immune, make a trigger like every 0.01 seconds. But if the unit is channeling, it will still stop the spell, it just wont be very noticable |
| 06-10-2006, 10:56 AM | #3 |
Depending on the situation, you could possibly use my custom stun system *cough shameless plug* and add an extra condition based on something like a boolean attached to the unit. |
| 06-10-2006, 05:08 PM | #4 |
Have you tried giving the Unit magic immunity |
| 06-10-2006, 05:14 PM | #5 |
Or resistant skin (don't know if it works)? |
| 06-12-2006, 08:10 AM | #6 |
Eh? well I don't want him entirly immune to all magic effects, just to stun because it interfears with my bosses movement triggers. Problem is there seem to be a lot of different buff effects that cause stunning. Entangle Impale Stun Statis Trap Are all spells that use these unique buff's which all seem to stun the enemy... Kinda just want my bosses to be immune to the effect of stunning... Seems to work, but there is a problem with Impale, if you make the boss instantly cure the Impale Buff, the spell is completely interupted the split second you cast it and has no visual effect, but still does damage. All n all, if the bosses movement gets interupted it interfears with some of their pattern triggers. |
| 06-12-2006, 10:35 AM | #7 |
You can't stop those spells from stunning. You can try to trigger them manually and don't add the stun. |
| 06-12-2006, 07:18 PM | #8 |
Statis trap and Stun generally uses the buff 'Stun'. They are all practically the same. Entangle isent really a stun, it just disables movement and attack EDIT: Im not too sure about Impale, iv never really played about with it |
| 06-13-2006, 01:14 AM | #9 |
I suppose I could just do a trigger to remove any of those buff's in the bosses pattern setup whenever they are told to move to a certain region or preform one of their major attacks so they get unstunned. |
| 06-13-2006, 03:57 AM | #10 |
Or what you could do is base your stun ability off of a blank channel targeting ability. You will need to have some formula for determining the duration of the stun using the ability's level. Then create another dummy storm bolt ability that has a 99 levels. At each level, increase the duration of the stun so that level 1 lasts 1 second and level 99 lasts 99 seconds. Then use the formula based off the level of the channel abiltiy to add that level ability to a dummy unit that casts the dummy storm bolt if it follows all set conditions (in your case, immunity) |
| 06-13-2006, 07:47 AM | #11 |
Or have a single level stunning ability with infinite duration and use triggers to remove the stun buff after it's duration is up. But I suppose you are not looking to trigger basic warcraft 3 spells. In that case, best you can do is buff removal. |
| 06-15-2006, 03:25 AM | #12 |
the problem with removing the buff is that, whats done is done. if the unit has been stunned, anything it did would be interrupted (ie stop a spell from casting). |
