HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

buff problem

05-02-2006, 04:56 AM#1
Linera
I have a problem with adding a buff when you cast a spell.
I tried using This but it isn't working.
I tried using frost armor but found when use along with my other spell that gives a buff using frost armor it will remove the old one.

I need a simple way to give a buff to a unit.
I will have alot of different buffs
05-02-2006, 05:07 AM#2
paidan_fain
As far as I know, you can't prevent a buff from overlapping its parent buff.

The simplest way to give a buff to a unit is spells such as shadow strike, drunken haze, curse, etc.

Another way is give the target of the spell an aura like perma immo (has no icon) and remove it from the target after the timer ends.
05-02-2006, 05:37 AM#3
Linera
i looked and there are not enough spells that give an buff to have one for each buff, also i found channel doesn't give a buff.
05-02-2006, 05:45 AM#4
paidan_fain
Well, if you need this for your thorn's damage skill (or whatever its callled), you could always save the unit without buffs (using gamecache preferebly) and just check if the unit being attacked is a unit saved in the gamecache under this category.
05-02-2006, 05:56 AM#5
Linera
But then the player won't know what buffs he has.
05-02-2006, 06:10 AM#6
paidan_fain
Yea its a trade-off because pretty much, you have no buffs left to use but you must use a buff. The only solution I can say is that you can make a second copy of every buff (based off a different buff) you use (along with the spells). Then when an ability is cast, you go through the unit and decide if there are any buffs that might conflict. If there are, then you create a dummy unit that casts the second copy of that buff onto the target unit. Of course, its going to be reallly cumbersome.

May I ask, what are you trying to make that used up all the buffs?
05-02-2006, 06:21 AM#7
Linera
the spells for all the classes in my map

I am just guessing but i should have around 50-100 buffs

now of course each buff has a different length of running and some are debuffs(which give a bad effect (i.e. does 35 damage over 12 secs))
05-02-2006, 11:49 AM#8
karukef
You can give your unit as many Tornado Aura abilities as you want. Make the aura only target self and the unit will get the buff. You can get multiple buffs with this, and the ability is invisible.
05-02-2006, 02:43 PM#9
Linera
the buff has no duration
05-02-2006, 02:46 PM#10
blu_da_noob
You will need a timer to remove the buffs. Another possible method of adding buffs is an aura in a disabled spell book. Has the advantage of being able to grant certain effects if you don't want to trigger them.
05-02-2006, 02:49 PM#11
Linera
buffs are being triggered
05-02-2006, 02:57 PM#12
Tim.
Quote:
Originally Posted by blu_da_noob
You will need a timer to remove the buffs.
.
05-02-2006, 03:21 PM#13
Linera
that would mean a ton of timers as this is multi-unit (meaning more then 1 unit can have the buff at one time)
05-02-2006, 03:29 PM#14
Tim.
Make it multistanceable?
05-02-2006, 03:33 PM#15
karukef
Quote:
Originally Posted by blu_da_noob
You will need a timer to remove the buffs. Another possible method of adding buffs is an aura in a disabled spell book.

NO! NO NO!

You do not have to use auras in a disabled spellbook. Can't you read other's posts before you reply?

Let me state clearly about the ability 'Slow Aura (Tornado)', aka 'Aasl':
  • INVISIBLE, which means you can give it to any unit and it doesn't show up on the command card.
  • You can pick ANY BUFF you wish the ability to add.
  • The ability can target only SELF, to add the buff only to the unit you give the ability to.
  • You can have 10 or 23658 different abilities based on Slow Aura (Tornado), each with a different buff and they will all show up.
  • You can add and remove abilities to and from units anytime you wish, which means you can add and remove the buff given by the ability any time you wish.
  • And obviously, you can make it so that it doesn't actually slow.

So if you ever want an ability that "just adds a buff", use this.