HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding Buffs

07-12-2006, 03:11 PM#1
emjlr3
is it possible to add buffs w/o having a dummy unit cast an ability to on the target?

I tried call UnitAddAbility()

and

call SetUnitAbilityLevel() to 1

neither seemed to work
07-12-2006, 03:12 PM#2
shadow1500
http://www.wc3campaigns.net/showthread.php?t=85171
07-12-2006, 06:40 PM#3
Sharingan
Er, don't mind me if I'm wrong, but doesn't that also let a dummy unit cast an ability on a target?
07-12-2006, 06:47 PM#4
shadow1500
There are 3 apply methods, and a dummy casting the buff is one of them, yes.
07-13-2006, 02:11 AM#5
Sharingan
Hmm, I see...
But what is the problem of using Dummy units?
They are not too slow, and I don't think they are slower than adding an aura.
Oh and,
1.) Dummy
2.) Aura
3.)? What's the third? >>
07-13-2006, 03:15 AM#6
emjlr3
i jsut wish I could add it, w/o having to create a dummy ability, give it the buff, the nhave to make it cast it in game, just seems so uneeded to me
07-13-2006, 03:48 AM#7
FatalError
Quote:
Originally Posted by emjlr3
i jsut wish I could add it, w/o having to create a dummy ability, give it the buff, the nhave to make it cast it in game, just seems so uneeded to me
Well...you can't. =P Sorry, use one of the methods mentioned above. I always just use dummy units, I know it's a hassle, but Blizzard didn't make an effective way to just add a buff, so you have to do things the complicated way.