| 10-10-2009, 11:47 PM | #1 |
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 |
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 |
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 |
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 |
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 | |
Quote:
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 |
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 | |
Quote:
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 | |||||||
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.
|
| 10-13-2009, 04:44 PM | #10 | |
Quote:
|
| 10-14-2009, 08:38 PM | #11 | |
Quote:
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 |
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. |
