HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding a dummy buff?

12-24-2009, 04:40 PM#1
weaaddar
Hey all, does anyone know how to create and then add a useless buff to a unit. The buff wouldn't do anything, but it would be there as a display on the units command card for some data. I might use this for an equipment system so as to display the unit's currently equipped sword or something.
12-24-2009, 07:32 PM#2
Panto
I assume you've tried adding a buff to the unit with the UnitAddAbility function. Do you need there to be possibly multiple such buffs?
12-24-2009, 08:56 PM#3
Fledermaus
Give it a dummy Tornado Aura that only targets self.
12-24-2009, 11:18 PM#4
weaaddar
Yes. Tornado aura seems to be perfect for this task. I'll whip up a little bit of object merger magic to create a tornado aura and a buff to add, for each weapon. Pretty nice stuff.