HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stacking Buffs/Debuffs

10-10-2009, 11:47 PM#1
Sgt_Johnson
Is there some way to get the same Buffs/Debuffs to stack?

Ex) Multiple Unholy Frenzy debuffs on one target

Can't find a way to do this myself =/
10-11-2009, 12:09 AM#2
grim001
If you mean that you want to display the same buff/debuff icon multiple times on the same unit, I created a library to do this. Haven't submitted it yet, although it's finished.

It takes some work to setup. You have to apply buffs to units using hurricane slow aura, and you have to create multiple copies of the buff and its respective applying ability. For example, if you created 5 identical Unholy Frenzy buffs and 5 hurricane slow auras to apply them, it could stack on the same unit up to 5 times.

There isn't really a better way to do it, so if you are still interested let me know.
10-11-2009, 12:21 AM#3
Anachron
Can't auras give multiple buffs?

If yes, you could do one aura spell, giving 10 buffs, and you remove the buffs you don't need.

Else, its pretty as grim said. Thank blizzard for that.
10-12-2009, 01:48 PM#4
Sgt_Johnson
The reason I ask is for a new RPG/Dungeon Crawler map I'm working on and theres some spells and such that give off a dummy buff and such for other spells and I was wondering if there was a way to make the dummy buffs stack because I was starting to run out of buffs I could use for dummies.
10-12-2009, 02:22 PM#5
Anachron
Units can have up to (*Insert the right number here*) buffs I think, as long as they don't have the same BUFF ID, they will be able to handle 2 identical buffs, you just have to change the id.
10-12-2009, 03:04 PM#6
Sgt_Johnson
Quote:
Originally Posted by Anachron
Units can have up to (*Insert the right number here*) buffs I think, as long as they don't have the same BUFF ID, they will be able to handle 2 identical buffs, you just have to change the id.

Edit: Nope still isn't working, even with the different buff ID's (unless I'm confusing the raw data name of the buff as the Buff ID)

Also just to clarify a little more, I'm working on an RPG/Dungeon crawler, most of the spells cast on the player's heroes or other player's heroes leave a dummy buff.

This is done to prevent some spells from stacking, to prevent certain triggered spells from affecting the unit, ect.

The issue is that as I'm working on adding the rest of the hero classes to the map, I'm running low on the dummy buffs I can use (without adding some negative effects to the hero and such) and using some other debuffs/buffs would cause issues with the spells that the hostile units might cast down the line (Such as shadow strike, just as an example).

At the moment the dummy buffs I've been using for this have been Frost Armor, Inner Fire and Unholy Frenzy. I also am planning on using Rejuvenation down the line, If I can figure out a way to make it so the buffs can stack however then I can only use Unholy Frenzies buff, only because I might want to use Frost Armor or Inner Fire as an actual spell possibly with other classes as I go and don't really plan on using Unholy Frenzy as an actual spell.
10-12-2009, 03:30 PM#7
Anitarf
You can only use each WC3 buff spell once in your map, if you use it as a basis for more than one custom spell then those custom spells won't stack. The only way to work around this is to use aura abilities to display your buffs, as grim001 said the most useful is the tornado slow aura because it does not display an icon on the unit's command card (otherwise you'd need to use the spellbook trick to hide the aura's icon).
10-12-2009, 03:45 PM#8
Sgt_Johnson
Quote:
Originally Posted by Anitarf
You can only use each WC3 buff spell once in your map, if you use it as a basis for more than one custom spell then those custom spells won't stack. The only way to work around this is to use aura abilities to display your buffs, as grim001 said the most useful is the tornado slow aura because it does not display an icon on the unit's command card (otherwise you'd need to use the spellbook trick to hide the aura's icon).

Could you provide a link for the spellbook trick? I cant seem to figure it out myself (I usually miss small details that those tricks usually are done with :P)

As for the tornado buff, that might just actually work, I'll have to figure out a way to implement it however though lol
10-12-2009, 03:53 PM#9
Fledermaus
Rough list I made a while ago of buffing abilities, obviously some wont really be desirable (Aerial Shackles, Divine Shield, etc..) but it might help you a bit.

Human


Aerial Shackles
Cloud
Control Magic
Flare
Heal
Inner Fire
Invisibility
Polymorph
Slow
Banish
Blizzard
Divine Shield
Flame Strike
Storm Bolt
Thunder Clap



Orc


Berserk
Bloodlust
Burning Oil
Ensnare
Envenomed Spears
Lightning Shield
Liquid Fire
Purge
Purge
Spirit Link
Big Bad Voodoo
Earthquake
Hex
Hex
War Stomp
War Stomp
Wind Walk



Undead


Anti-magic Shell
Anti-magic Shell
Cripple
Cripple
Curse
Essence of Blight
Freezing Breath
Frost Attack
Frost Attack
Frost Breath
Replenish
Replenish Mana
Spirit Touch
Unholy Frenzy
Web
Death And Decay
Frost Armor
Frost Armor
Frost Nova
Impale
Sleep



Night Elf


Cyclone
Eat Tree
Faerie Fire
Faerie Fire
Mana Flare
Phase Shift
Rejuvenation
Roar
Roar
Slow Poison
War Club
Entangling Roots
Immolation
Shadow Strike



Neutral Hostile


Banish
Anti-magic Shell
Black Arrow
Blizzard
Bloodlust
Bloodlust
Breath of Fire
Breath of Frost
Cold Arrows
Cripple
Curse
Cyclone
Cyclone
Divine Shield
Ensnare
Entangling Roots
Entangling Roots
Envenomed Weapons
Faerie Fire
Firebolt
Firebolt
Flame Strike
Flame Strike
Frenzy
Frost Armor
Frost Armor
Frost Bolt
Frost Nova
Heal
Heal
Heal
Hex
Howl of Terror
Hurl Boulder
Immolation
Impale
Inner Fire
Lightning Shield
Mana Shield
Mind Rot
Parasite
Polymorph
Purge
Rain of Fire
Rain of Fire
Rejuvenation
Rejuvenation
Roar
Roar
Shadow Strike
Silence
Slam
Slam
Sleep
Slow
Unholy Frenzy
Unholy Frenzy
War Stomp
War Stomp
War Stomp
Web
Acid Bomb
Battle Roar
Black Arrow
Breath of Fire
Breath of Fire
Cluster Rockets
Cold Arrows
Dark Conversion
Dark Conversion
Death And Decay
Doom
Drunken Haze
Drunken Haze
Earthquake
Firebolt
Frost Arrows
Healing Spray
Howl of Terror
Incinerate
Incinerate
Mana Shield
Poison Arrows
Rain of Fire
Silence
Soul Burn
Soul Preservation
Storm Bolt
Volcano
Wind Walk



Neutral Passive


Cyclone
Ensnare
Frost Armor
Parasite
Summoning Ritual



Special


Poison Sting
Berserk
Clarity Potion
Cloud of Fog
Control Magic
Cyclone
Dust of Appearance
Generic Item-Rejuv Effect
Generic Item-Rejuv Effect
Generic Item-Rejuv Effect
Generic Item-Rejuv Effect
Generic Item-Rejuv Effect
Generic Item-Rejuv Effect
Healing Salve
Item Anti-Magic Shell
Item Area Detection
Item Attack Black Arrow Bonus
Item Attack Corruption Bonus
Item Attack Frost Bonus
Item Attack Poison Bonus
Item Divine Shield
Item Immolation
Item Purge
Item Purge
Item Purge
Item Silence
Item Soul Possession
Item Temporary Area Armor Bonus
Item Temporary Area Armor Bonus
Item Temporary Invisibility
Item Temporary Invisibility
Item Temporary Invulnerability
Item Temporary Invulnerability
Item Temporary Speed Bonus
Item Web
Lesser Clarity Potion
Lightning Shield
Melee Cold Damage Bonus
Orb of Darkness
Poison Sting
Roar
Rune of Speed
Scroll of Haste
Scroll of Regeneration
Slow
Slow Poison
Spirit Link
Staff of Sanctuary
Unholy Frenzy
Vampiric Potion
Wand of Shadowsight

10-13-2009, 04:44 PM#10
Anitarf
Quote:
Originally Posted by Sgt_Johnson
Could you provide a link for the spellbook trick? I cant seem to figure it out myself (I usually miss small details that those tricks usually are done with :P)
If you are using the tornado slow aura, then you do not need to use the spellbook trick to hide the ability icon because the tornado slow aura does not display an icon in the first place. For more information on the spellbook, check out the Warcraft III Ability Guide.
10-14-2009, 08:38 PM#11
Sgt_Johnson
Quote:
Originally Posted by Anitarf
If you are using the tornado slow aura, then you do not need to use the spellbook trick to hide the ability icon because the tornado slow aura does not display an icon in the first place. For more information on the spellbook, check out the Warcraft III Ability Guide.

Been using it now, however it seems as though when I remove the spellbook (or the tornado dummy spell, the buff seems to linger for a few seconds longer (varies) that or I just wasnt paying enough attention during my tests and thought it did.
10-14-2009, 09:43 PM#12
grim001
You've got to remove both the ability and the buff if you want it to clear instantly.

You can remove a buff using UnitRemoveAbility.