Stacking the same buff

Weyird

Member
Reaction score
5
Hi, as far as I know buffs are unstackable. There are two types of abilities I need some help with:

1) A basic aura that is stackable between units. Specifically, I would like necromancer that summons skeletons and each skeleton reduces enemy units' attack or armour. I can make an ability that does so, but if there are two skeletons it won't stack. In short, I want a type of fear effect so if there is a huge horde of skeletons walking towards you, you lose all your stats; but if its just one it's hardly anything.

2) How do you stack friendly buffs such as attack speed or damage bonuses that wear off over time. As far as I know there is nothing in the triggers that let you increase attach speed or damage or some such. Specifically, I want a character that gains a bloodlust type buff each time he kills a unit, with him getting progressively stronger each time he kills something in a short burst. Also, how do you put a stack cap on it so he can only have this buff, say, 10 times at one time.

Thanks
 
If Glenphir sees this he will probably say: Stack auras! x)

And that's what you should do ^^

Both of the abilities have to be triggered, but the problem is the first ability. You can not stack the exact same aura (you can stack different ones of the same base). For the first spell you would have to do something, but i'm afraid my solution will lag the entire map xD

But, i will post it anyway:

Every Second pick up every unit in the map (i know i know) and check to see how many skeletons there are in its range. When you see how many reduce your stats by that much. It's a bad solution but it's kind of a start if you start thinking about ways to improve it xD

2) Well, i would make a dummy whenever the killer kills a unit and give it bloodlust. Make an integer variable that will store the amount of units killed. Then set the level of bloodlust to that integer and fire away, as the stronger buff over rides the weaker one, you should have no problems. Also limit the integer to check if it's 10, if it is, then don't add more ^^

Also not a perfect solution, but hey, it's something ^^
 
I'm really adverse to things that cause lag, especially 1sec periodic events.. I'm also hoping to avoid making 50 of the same aura and triggering the giving of the next aura to each new summon...
I COULD do it like that but I'm really hoping to avoid that...
 
Actually you can stack buffs, but you would need a different buff for each unit, granted they could be the same effect and everything identical, but you would need different names for them. Worked for me.
 
1) There is only one aura that i know of that you can customize to give a negative bonus to all nearby units. You could also use dummy units - I'M A FAN OF THESE - to cast multiple buffs - armor decrease
- on nearby units. This will only be temporary however. Refer to below (2) on how to do this.
EDIT: OMG! I see what your saying. If you go this route. In your trigger editor. Set the level of armor decrease == to the number of units that has it. for instance - If your skeleton has a -1 armor skill then leave the ability as is. If you have 10 skeletons, set the level of the ability to 10, etc.

2) Simple. Have a dummy unit with locust and a working bloodlust spell. Make sure he has enough mana to cast it:
Trigger:
  • Events
    • Unit - A unit dies
    • Conditions
      • (Unit-type of (killing unit)) equal to <your unit>
    • Actions
      • Set temploc = (position of (killing unit))
      • Unit - Create 1 <your dummy> for (owner of (killing unit)) at temploc facing default building degrees
      • Set tempunit = last created unit
      • Unit - add a 2 second expiration time on tempunit
      • Unit - order tempunit to bloodlust (killing unit)
      • Custom script: call RemoveLocation (udg_temploc)


That should do it. There may be some minor adjustments to the script. I don't have my editor handy right now - sorry, I had to do everything from memory. :thup: Good luck.
 
Actually you can stack buffs, but you would need a different buff for each unit, granted they could be the same effect and everything identical, but you would need different names for them. Worked for me.

May I ask if you're talking about buff placing skills (Eg. Inner Fire) or Auras? I'm sure buff placing skills can't stack.
 
Why not base it off Item - Armor Bonus and give it negative values. And make it correspond to how much enemies there are in the map periodically.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Do you think the people that answer the phone for that company have any idea about that? Because they do not, nor can they tell me where they get that xanthum gum usually so I can't ask the people that make it, nor do they particularly care if I'm the one risking people's lives and not them.
  • Varine Varine:
    So that was my week building up to today, because that is when I got the menu and had to guess at the actual recipes for two of those days, because again I think he threw this into AI and ran with a lot of it
  • Varine Varine:
    I should have had all of this like a month ago but whatever, it's fine. He's trying a thing, idk it's his menu I don
  • Varine Varine:
    I don't care.
  • Varine Varine:
    Fuck I need more saturday nights off. Turns out I'm much cooler to drunk girls. If I hang out with enough people like that, eventually I'll meet one that likes me sober too
  • Varine Varine:
    idk if anyone has ever done IT. I am not IT but I just got off a 20 minute phone call with the general manager asking me how to make her new computer print. I do adore her, like I know her personally, but I asked three times if the printer was on. She apologized for bothering me, and Chef Ben walked in a few minutes later, turned the printer on apparently, and then called to ask if I was trying to print shit from my house again
  • Varine Varine:
    So I have a newfound appreciation
  • Varine Varine:
    And also I'm going to remove that one from my secondary career options
  • Varine Varine:
    As I get older I'm not thinking I can do this forever anymore, and I'm kind of dead end right now. I get a fine salary and fair raises, like I can easily live my lifestyle on this normally, but I don't know if I can do this in ten years, and I don't think I want to. I don't really have any desire to take over another restaurant, and I don't want to try and own one, and I doubt I'll luck out like I did with that taco place in Texas
  • Varine Varine:
    I have a math degree but that was a while ago and I'm not positive I actually deserved that. It was kind of just given to me I feel like cuz I was in school so long. Like for a bit as a teenager I got real into the mormon thing, and my dad grew up kind of similarly. Much like he fell out of it
  • Varine Varine:
    Anyway he started coming to church with me for a bit, and they gave home the I think Melchizedek? idk how to spell it, but it's the 'upper' priesthood, like he had a whole blessing thing after I got baptized, and it WAS a very neat experience. And the only reason I think they did they did that was cuz he was like late 30s, and that is kind of the age that they have the last chance at that
  • Varine Varine:
    And I mean its not, but like... I'm pretty well set in my lack of religious beliefs, I guess. And I'm a bit younger than my dad would have been then.
  • Varine Varine:
    And then I got real into, he got bored and was like you do you dude, and that's how I got a huge amount of freedom when I started doing drugs as a teenager
  • Varine Varine:
    In hindsight my parents were fantastic. but they were too fucking tired to raise kids like me. And their jobs were easier with better benefits.
  • Varine Varine:
    Anyway idk where I'm going here, but I asked ChatGPT some of the same things and holy shit was it way more strict and just gave me (importantly the wrong) phone number to a hotline
  • Varine Varine:
    TH, I gotta say, though, I'm amazed you keep this up. I feel like there are you and Ghan doing whatever you're doing, Tom posting news, and then me using the chatbox as a journal every once in a while.
  • Varine Varine:
    Thanks for letting me do that, also. I know I'm not using it correctly, but somewhere along the line I went from arguing with Cheshire to using this as a kind of void for my frustrations and hopes. I like to think of the whole thing as an enigma of sorts
  • Varine Varine:
    It's not, you guys could probably blackmail me if you went back far enough. I doubt anyone would, you've always been very kind, and I'm glad to have been a part of all this! I hope you enjoy me too, cuz I'm going to keep doing it.
  • Varine Varine:
    In my defense I was high for a lot of that though
  • V-SNES V-SNES:
    Thanks for sharing @Varine
  • The Helper The Helper:
    Brother how long we been here together? You guys are some of my best friends and I have never even met any of you. I dont know what I would if I did not have my Varine rant to look at when I get on. How could I possibly ever shut this site down? We have been here in this little chat box through a lot of shit for a long time. I love you guys!
  • tom_mai78101 tom_mai78101:
    I missed out on a lot of chat messages. But yeah, we're planning for my mom's funeral back in Taiwan. I'm really glad I work remotely, so I can try to leverage that and go to places outside of US while still working in US.
  • tom_mai78101 tom_mai78101:
    If it wasn't for my mom, I wouldn't be able to work in the US. Let alone being able to work until our office closed, and I became a full-time remote employee.
  • tom_mai78101 tom_mai78101:
    Really important though, get your wills and last testaments ready. We avoided like 2 to 3 months of waiting for probate court to get back to us.
    +1
  • The Helper The Helper:
    V-SNES I got good news I got your stuff packed for shipping and just need to get to the post office to get shipping cost!

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top