| 02-11-2009, 08:17 PM | #1 |
I'm creating a spell that makes all allied units in targeted area invulnerable for some time (have a channel and a no-channel version). Someone told me to use a dummy unit channeling big bad voodoo, it worked great! But... It don't turn the caster invulnerable even if it inside the area! It don't affect heroes? |
| 02-11-2009, 08:24 PM | #2 |
Big Bad Voodoo is hard-coded not to affect the caster, IIRC. |
| 02-11-2009, 09:06 PM | #3 | |
Quote:
But why it don't affect the hero casting an ability based in channel that spawn the dummy unit who cast big bad voodoo? Is it detecting that I'm trying to bypass that? =O |
| 02-11-2009, 09:12 PM | #4 |
Allied and player units set to be done? |
| 02-11-2009, 09:18 PM | #5 |
Attached some images. As you can see ingame, she don't get the buff, but the two allied units at her side become invulnerable. Edit: The Targets allowed is pink, but reseting to default only swap "Ground" and "Friend" places. |
| 02-11-2009, 10:50 PM | #6 |
Do you use bigbadvoodoo as the orderstring on the channel ability? Warcraft might of hardcoded it to not effect people with that order, so you cant get 2 SH's on a team to both voodoo... or something |
| 02-11-2009, 11:04 PM | #7 | |
Quote:
|
| 02-11-2009, 11:07 PM | #8 |
BBV doesn't effect units that are channeling (any spell) |
| 02-11-2009, 11:43 PM | #9 | |
Quote:
How can I make my spell now? It should make allied units in targeted area invul for 0,5s per level and only if they stay there. |
| 02-12-2009, 06:42 AM | #10 |
Do you jass or GUI? |
| 02-12-2009, 06:50 AM | #11 |
Set the caster to be invulnerable and add a dummy ability which gives the buff. Total pain but it's entirely doable. Removing the effect is more annoying but also doable. |
| 02-12-2009, 09:49 AM | #12 |
But then what about other units that are channeling? |
| 02-12-2009, 11:21 AM | #13 |
dont set anything, bbv will cast on all ally and your own units in range. caster cannot be invulnerable, this is kinda hardcoded, all channel spells broke invul spells and abilities. |
| 02-12-2009, 12:45 PM | #14 |
I can't use it if don't affect channel because almost all my heroes have some kind of channeling spell, my caster is a dummy unit.... I though something like a struct with unit group and x.y, checking if the units are still in range and them adding new units that come in range. I don't know if that is the better way to do that, and the time between checks... Something like every 0.1? |
| 02-12-2009, 01:40 PM | #15 |
standart auras checks every second or two, you dont need 0.1 timer. checkout your heroes settings, im sure you set something stupid in "target as" field. |
