HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Big Bad Voodoo Problem

02-11-2009, 08:17 PM#1
Saishy
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
Kyrbi0
Big Bad Voodoo is hard-coded not to affect the caster, IIRC.
02-11-2009, 09:06 PM#3
Saishy
Quote:
Originally Posted by Kyrbi0
Big Bad Voodoo is hard-coded not to affect the caster, IIRC.
I don't need it to affect the caster since the caster is a dummy unit.
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
Captain Griffen
Allied and player units set to be done?
02-11-2009, 09:18 PM#5
Saishy
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.
Attached Images
File type: jpgerror17.JPG (209.3 KB)
File type: jpgerror18.JPG (216.2 KB)
02-11-2009, 10:50 PM#6
Bobo_The_Kodo
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
Saishy
Quote:
Originally Posted by Bobo_The_Kodo
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
No.
02-11-2009, 11:07 PM#8
Fledermaus
BBV doesn't effect units that are channeling (any spell)
02-11-2009, 11:43 PM#9
Saishy
Quote:
Originally Posted by Antiquities
BBV doesn't effect units that are channeling (any spell)
LOL... So is useless for me :(

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
Fledermaus
Do you jass or GUI?
02-12-2009, 06:50 AM#11
Blackroot
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
Fledermaus
But then what about other units that are channeling?
02-12-2009, 11:21 AM#13
DioD
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
Saishy
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
DioD
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.